[GRASS-SVN] r57429 - grass/trunk/gui/wxpython/mapwin

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 6 12:06:34 PDT 2013


Author: annakrat
Date: 2013-08-06 12:06:34 -0700 (Tue, 06 Aug 2013)
New Revision: 57429

Modified:
   grass/trunk/gui/wxpython/mapwin/decorations.py
Log:
wxGUI: fix launching scale bar dialog

Modified: grass/trunk/gui/wxpython/mapwin/decorations.py
===================================================================
--- grass/trunk/gui/wxpython/mapwin/decorations.py	2013-08-06 17:41:24 UTC (rev 57428)
+++ grass/trunk/gui/wxpython/mapwin/decorations.py	2013-08-06 19:06:34 UTC (rev 57429)
@@ -365,7 +365,7 @@
                 self.resizeBtn.Enable()
 
     def Show(self, show=True):
-        if show:
+        if show and self._ddstyle == DECOR_DIALOG_LEGEND:
             self.resizeBtn.Enable(not self.parent.IsPaneShown('3d'))
         wx.Dialog.Show(self, show)
 



More information about the grass-commit mailing list