浏览代码

wxGUI/WMSDialog: remove redundant argument

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51613 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
c02bcb9611
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/lmgr/frame.py

+ 1 - 1
gui/wxpython/lmgr/frame.py

@@ -1271,7 +1271,7 @@ class GMFrame(wx.Frame):
     def OnImportWMS(self, event):
         """!Import data from OGC WMS server"""
         from ogc_services.wms import WMSDialog
-        dlg = WMSDialog(parent = self, service = 'wms')
+        dlg = WMSDialog(parent = self)
         dlg.CenterOnScreen()
         
         if dlg.ShowModal() == wx.ID_OK: # -> import layers