Ver código fonte

wxGUI/WMSDialog: remove redundant argument

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51613 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 anos atrás
pai
commit
c02bcb9611
1 arquivos alterados com 1 adições e 1 exclusões
  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):
     def OnImportWMS(self, event):
         """!Import data from OGC WMS server"""
         """!Import data from OGC WMS server"""
         from ogc_services.wms import WMSDialog
         from ogc_services.wms import WMSDialog
-        dlg = WMSDialog(parent = self, service = 'wms')
+        dlg = WMSDialog(parent = self)
         dlg.CenterOnScreen()
         dlg.CenterOnScreen()
         
         
         if dlg.ShowModal() == wx.ID_OK: # -> import layers
         if dlg.ShowModal() == wx.ID_OK: # -> import layers