Explorar o código

cmbarton: Fix for invisible combo box in digitizing toolbar on Mac
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33778)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33780 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa %!s(int64=16) %!d(string=hai) anos
pai
achega
e519682eae
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      gui/wxpython/gui_modules/toolbars.py

+ 4 - 0
gui/wxpython/gui_modules/toolbars.py

@@ -439,6 +439,10 @@ class VDigitToolbar(AbstractToolbar):
         # 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)