فهرست منبع

wxGUI/datacatalog: fix switching mapset between different dbs (#931)

Anna Petrasova 4 سال پیش
والد
کامیت
900bcc8244
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      gui/wxpython/startup/guiutils.py

+ 3 - 1
gui/wxpython/startup/guiutils.py

@@ -880,7 +880,9 @@ def switch_mapset_interactively(guiparent, giface, dbase, location, mapset):
                                "Current mapset is <%(mapset)s>."
                                ) %
                      {'dbase': dbase, 'loc': location, 'mapset': mapset})
-            giface.currentMapsetChanged.emit(dbase, location, mapset)
+            giface.currentMapsetChanged.emit(dbase=dbase,
+                                             location=location,
+                                             mapset=mapset)
     elif location:
         if RunCommand('g.mapset', parent=guiparent,
                       location=location,