[GRASS-SVN] r54664 - grass/trunk/gui/wxpython/web_services
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 16 02:42:26 PST 2013
Author: martinl
Date: 2013-01-16 02:42:25 -0800 (Wed, 16 Jan 2013)
New Revision: 54664
Modified:
grass/trunk/gui/wxpython/web_services/dialogs.py
Log:
wxGUI/WMS: btn default fix
Modified: grass/trunk/gui/wxpython/web_services/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/dialogs.py 2013-01-16 10:14:38 UTC (rev 54663)
+++ grass/trunk/gui/wxpython/web_services/dialogs.py 2013-01-16 10:42:25 UTC (rev 54664)
@@ -366,6 +366,8 @@
username = self.username.GetValue(),
password = self.password.GetValue())
self.ws_panels[ws]['panel'].Hide()
+
+ self.btn_add.SetDefault()
def OnPanelCapParsed(self, event):
"""!Called when panel has downloaded and parsed capabilities file.
@@ -472,7 +474,7 @@
self.btn_add = wx.Button(parent = self, id = wx.ID_ANY, label = _("&Add layer"))
self.btn_add.SetToolTipString(_("Add selected web service layers as map layer into layer tree"))
self.btn_add.Enable(False)
-
+
self.run_btns.append(self.btn_add)
def _doLayout(self):
More information about the grass-commit
mailing list