瀏覽代碼

wxGUI: fix OnImportWMS handler

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54063 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 年之前
父節點
當前提交
085d66c01f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/lmgr/frame.py

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

@@ -1494,7 +1494,7 @@ class GMFrame(wx.Frame):
         dlg.CentreOnScreen()
         dlg.Show()
         
-    def OnImportWMS(self, event):
+    def OnImportWMS(self, event, cmd = None):
         """!Import data from OGC WMS server"""
         from ogc_services.wms import WMSDialog
         dlg = WMSDialog(parent = self)