[GRASS-SVN] r62605 - grass/branches/releasebranch_6_4/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 4 18:36:32 PST 2014


Author: annakrat
Date: 2014-11-04 18:36:32 -0800 (Tue, 04 Nov 2014)
New Revision: 62605

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/vdigit/dialogs.py
Log:
wxGUI: fix wxPython 3 related bug #2471: wxgui digitizer update categories dialog is not closable (merge from trunk, r62603)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/vdigit/dialogs.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/vdigit/dialogs.py	2014-11-05 02:33:35 UTC (rev 62604)
+++ grass/branches/releasebranch_6_4/gui/wxpython/vdigit/dialogs.py	2014-11-05 02:36:32 UTC (rev 62605)
@@ -187,6 +187,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