[GRASS-SVN] r62603 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 4 18:30:31 PST 2014


Author: annakrat
Date: 2014-11-04 18:30:30 -0800 (Tue, 04 Nov 2014)
New Revision: 62603

Modified:
   grass/trunk/gui/wxpython/vdigit/dialogs.py
Log:
wxGUI: fix wxPython 3 related bug #2471: wxgui digitizer update categories dialog is not closable

Modified: grass/trunk/gui/wxpython/vdigit/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/dialogs.py	2014-11-05 00:40:30 UTC (rev 62602)
+++ grass/trunk/gui/wxpython/vdigit/dialogs.py	2014-11-05 02:30:30 UTC (rev 62603)
@@ -189,6 +189,7 @@
         btnOk.Bind(wx.EVT_BUTTON, self.OnOK)
         btnAddCat.Bind(wx.EVT_BUTTON, self.OnAddCat)
         btnCancel.Bind(wx.EVT_BUTTON, self.OnCancel)
+        self.Bind(wx.EVT_CLOSE, lambda evt: self.Hide())
                                      
         # list
         self.list.Bind(wx.EVT_COMMAND_RIGHT_CLICK, self.OnRightUp) #wxMSW



More information about the grass-commit mailing list