Skip to content

Commit

Permalink
wxGUI: fix wxAssertionError when opening tools from console (OSGeo#2934)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa authored and neteler committed Nov 7, 2023
1 parent c5d77b1 commit aceed68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def OnKillFocus(self, event):
self.AutoCompCancel()
# show hint
if self.IsEmpty():
self._showHint()
wx.CallAfter(self._showHint)
event.Skip()

def OnSetFocus(self, event):
Expand Down

0 comments on commit aceed68

Please sign in to comment.