[GRASS-SVN] r33113 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 27 05:13:34 EDT 2008
Author: martinl
Date: 2008-08-27 05:13:34 -0400 (Wed, 27 Aug 2008)
New Revision: 33113
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: don't crash when closing map display
(merge from devbr6, r33111)
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2008-08-27 09:12:01 UTC (rev 33112)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2008-08-27 09:13:34 UTC (rev 33113)
@@ -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