[GRASS-SVN] r62604 - in grass/branches/releasebranch_7_0: . gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 4 18:33:35 PST 2014


Author: annakrat
Date: 2014-11-04 18:33:35 -0800 (Tue, 04 Nov 2014)
New Revision: 62604

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/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)


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:61096,62179-62180,62182,62403,62422,62424,62437,62466,62487,62491,62494,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62570,62573,62575,62597
   + /grass/trunk:61096,62179-62180,62182,62403,62422,62424,62437,62466,62487,62491,62494,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62570,62573,62575,62597,62603

Modified: grass/branches/releasebranch_7_0/gui/wxpython/vdigit/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/vdigit/dialogs.py	2014-11-05 02:30:30 UTC (rev 62603)
+++ grass/branches/releasebranch_7_0/gui/wxpython/vdigit/dialogs.py	2014-11-05 02:33:35 UTC (rev 62604)
@@ -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