소스 검색

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 년 전
부모
커밋
c8d2611fda
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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):