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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 27 05:10:39 EDT 2008


Author: martinl
Date: 2008-08-27 05:10:39 -0400 (Wed, 27 Aug 2008)
New Revision: 33111

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: don't crash when closing map display

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-08-27 08:46:11 UTC (rev 33110)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-08-27 09:10:39 UTC (rev 33111)
@@ -3205,9 +3205,9 @@
             if pgnum > -1:
                 self.layerbook.DeletePage(pgnum)
         
-        #self.Destroy()
-        if event:
-            event.Skip()
+        ### self.Destroy()
+        # if event:
+        #    event.Skip() <- causes application crash
         
     def GetRender(self):
         """



More information about the grass-commit mailing list