Browse Source

g.gui.rlisetup: change button to save and exit in the view configuration window

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59394 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 11 năm trước cách đây
mục cha
commit
95733c442a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      gui/wxpython/rlisetup/frame.py

+ 2 - 2
gui/wxpython/rlisetup/frame.py

@@ -41,8 +41,8 @@ class ViewFrame(wx.Frame):
         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()