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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 17 02:01:54 EDT 2008


Author: cmbarton
Date: 2008-08-17 02:01:54 -0400 (Sun, 17 Aug 2008)
New Revision: 32833

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
Fixed bug where properties window for scalebar would not open if scalebar was created without first opening properties window (i.e., created with defaults).

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-08-17 05:46:17 UTC (rev 32832)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-08-17 06:01:54 UTC (rev 32833)
@@ -327,6 +327,9 @@
                                                            'coords': (10, 10),
                                                            'pdcType': 'image' }
         else:
+            if self.parent.MapWindow.overlays[self.ovlId]['propwin'] == None:
+                return
+
             self.parent.MapWindow.overlays[self.ovlId]['propwin'].get_dcmd = self.GetOptData
 
 



More information about the grass-commit mailing list