Browse Source

wxGUI: fix rendering issue reported in https://trac.osgeo.org/grass/ticket/2088

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58939 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 years ago
parent
commit
73b1b88598
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/lmgr/layertree.py

+ 1 - 1
gui/wxpython/lmgr/layertree.py

@@ -1100,7 +1100,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
             checked = True
         
         self.forceCheck = True
-        self.CheckItem(layer, checked = checked)
+        wx.CallAfter(self.CheckItem, layer, checked)
         
         # add text and icons for each layer ltype
         label =  _('(double click to set properties)') + ' ' * 15