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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 27 02:06:32 EDT 2008


Author: cmbarton
Date: 2008-08-27 02:06:32 -0400 (Wed, 27 Aug 2008)
New Revision: 33108

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
Fix/workaround to permit histogram properties panel to be canceled/closed.

Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-08-27 06:03:01 UTC (rev 33107)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-08-27 06:06:32 UTC (rev 33108)
@@ -829,7 +829,7 @@
         if self.get_dcmd:
             # display decorations and 
             # pressing OK or cancel after setting layer properties
-            if self.task.name == 'd.barscale' or self.task.name == 'd.legend' \
+            if self.task.name in ['d.barscale','d.legend','d.histogram'] \
                 or len(self.parent.GetPyData(self.layer)[0]['cmd']) >= 1:
                 self.Hide()
             # canceled layer with nothing set



More information about the grass-commit mailing list