Fix crash on calltip click on macOS
Commit b0d0494f
fixed it for autocomplete popup, but a similar issue is
still present for calltips. This commit fixes it.
Closes https://github.com/wxWidgets/wxWidgets/pull/595
This commit is contained in:
parent
d3f20c3837
commit
c677e4e652
@ -490,9 +490,10 @@ void ScintillaWX::NotifyParent(SCNotification scn) {
|
||||
// a side effect that the AutoComp will also not be destroyed when switching
|
||||
// to another window, but I think that is okay.
|
||||
void ScintillaWX::CancelModes() {
|
||||
if (! focusEvent)
|
||||
if (! focusEvent) {
|
||||
AutoCompleteCancel();
|
||||
ct.CallTipCancel();
|
||||
ct.CallTipCancel();
|
||||
}
|
||||
Editor::CancelModes();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user