[GRASS-SVN] r33778 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 9 02:28:23 EDT 2008


Author: cmbarton
Date: 2008-10-09 02:28:23 -0400 (Thu, 09 Oct 2008)
New Revision: 33778

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
Log:
Fix for invisible combo box in digitizing toolbar on Mac

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2008-10-09 06:24:07 UTC (rev 33777)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2008-10-09 06:28:23 UTC (rev 33778)
@@ -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