Explorar o código

wxGUI/WMSDialog: remove redundant argument

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51613 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=13) %!d(string=hai) anos
pai
achega
c02bcb9611
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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