[GRASS-SVN] r59394 - grass/trunk/gui/wxpython/rlisetup
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 27 03:15:14 PDT 2014
Author: lucadelu
Date: 2014-03-27 03:15:14 -0700 (Thu, 27 Mar 2014)
New Revision: 59394
Modified:
grass/trunk/gui/wxpython/rlisetup/frame.py
Log:
g.gui.rlisetup: change button to save and exit in the view configuration window
Modified: grass/trunk/gui/wxpython/rlisetup/frame.py
===================================================================
--- grass/trunk/gui/wxpython/rlisetup/frame.py 2014-03-27 10:04:08 UTC (rev 59393)
+++ grass/trunk/gui/wxpython/rlisetup/frame.py 2014-03-27 10:15:14 UTC (rev 59394)
@@ -41,8 +41,8 @@
self.textCtrl.SetValue(''.join(f.readlines()))
f.close()
###BUTTONS #definition
- self.btn_close = wx.Button(parent=self, id=wx.ID_CLOSE)
- self.btn_ok = wx.Button(parent=self, id=wx.ID_OK)
+ self.btn_close = wx.Button(parent=self, id=wx.ID_EXIT)
+ self.btn_ok = wx.Button(parent=self, id=wx.ID_SAVE)
self.btn_close.Bind(wx.EVT_BUTTON, self.OnClose)
self.btn_ok.Bind(wx.EVT_BUTTON, self.OnOk)
self._layout()
More information about the grass-commit
mailing list