Skip to content

Commit

Permalink
wxGUI/g.gui.psmap: fix launch ps.map module dialog from the File menu (
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Nov 10, 2020
1 parent ab5f87c commit fee653a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/wxpython/gui_core/prompt.py
Expand Up @@ -64,7 +64,8 @@ def __init__(self, parent, giface, menuModel):
self.cmdDesc = None

self._loadHistory()
giface.currentMapsetChanged.connect(self._loadHistory)
if giface:
giface.currentMapsetChanged.connect(self._loadHistory)

# list of traced commands
self.commands = list()
Expand Down

0 comments on commit fee653a

Please sign in to comment.