Am 14.09.11 19:49 schrieb(en) Albrecht Dreß:
Hi Oliver:

Am 13.09.11 21:46 schrieb(en) Oliver Eichler:
I hope you fix that list box issue :)

I hope - will look into it, stay tuned...

This was a hard one, and I couldn't *really* fix it.  Neither an explicit 
update() nor a repaint() on the widget worked.  The last resort was to always 
select at least the first element of the list - and this seems to do the trick. 
 Not nice, but at least better than the previous status.  Patch is attached, 
and already in the 1.2.4 packages I uploaded a few minutes ago.

Best,
Albrecht.
Index: src/CMapToolWidget.cpp
===================================================================
--- src/CMapToolWidget.cpp	(revision 2995)
+++ src/CMapToolWidget.cpp	(working copy)
@@ -175,6 +175,9 @@
             ++map;
         }
 
+#if defined(Q_WS_MAC)
+	listSelectedMaps->setCurrentRow(0);
+#endif
         if(selected) listSelectedMaps->setCurrentItem(selected);
         updateExportButton();
     }

Attachment: pgpHpkeyU1Heh.pgp
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to