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

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


Author: cmbarton
Date: 2008-08-27 02:02:00 -0400 (Wed, 27 Aug 2008)
New Revision: 33106

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
Fix to allow histogram properties panel to be canceled.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-08-27 01:10:09 UTC (rev 33105)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-08-27 06:02:00 UTC (rev 33106)
@@ -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