[GRASS-SVN] r33780 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 9 04:03:46 EDT 2008


Author: martinl
Date: 2008-10-09 04:03:46 -0400 (Thu, 09 Oct 2008)
New Revision: 33780

Modified:
   grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
cmbarton: Fix for invisible combo box in digitizing toolbar on Mac
(merge from devbr6, r33778)


Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py	2008-10-09 07:30:38 UTC (rev 33779)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py	2008-10-09 08:03:46 UTC (rev 33780)
@@ -439,7 +439,11 @@
         # realize toolbar
         for row in range(0, self.numOfRows):
             self.toolbar[row].Realize()
+            # workaround for Mac bug. May be fixed by 2.8.8, but not before then.
+            self.combo.Hide()
+            self.combo.Show()
 
+
         # disable undo/redo
         self.toolbar[0].EnableTool(self.undo, False)
         



More information about the grass-commit mailing list