Browse Source

wxGUI: correct position of WMS dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54665 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
c8d2611fda
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gui/wxpython/lmgr/frame.py

+ 2 - 0
gui/wxpython/lmgr/frame.py

@@ -1512,6 +1512,8 @@ class GMFrame(wx.Frame):
         from web_services.dialogs import AddWSDialog
         dlg = AddWSDialog(parent = self, gmframe = self)
         dlg.CentreOnScreen()
+        x, y = dlg.GetPosition()
+        dlg.SetPosition((x, y - 200))
         dlg.Show()
 
     def OnShowAttributeTable(self, event, selection = None):