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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 17 02:03:57 EDT 2008


Author: cmbarton
Date: 2008-08-17 02:03:57 -0400 (Sun, 17 Aug 2008)
New Revision: 32834

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
Backport from develbranch_6 of bug fix for scalebar properties setting

Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-08-17 06:01:54 UTC (rev 32833)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-08-17 06:03:57 UTC (rev 32834)
@@ -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