Skip to content

Commit

Permalink
wxGUI/datacatalog: fix switching mapset between different dbs (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Aug 24, 2020
1 parent 4a67861 commit 900bcc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gui/wxpython/startup/guiutils.py
Expand Up @@ -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,
Expand Down

0 comments on commit 900bcc8

Please sign in to comment.