Qt: Fix potential scripting context conflict (fixes #2948)

This commit is contained in:
Vicki Pfau 2023-06-20 04:34:27 -07:00
parent 76e5aa7148
commit 870c2f8bab
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ void ScriptingController::event(QObject* obj, QEvent* event) {
return;
}
CoreController::Interrupter interrupter(m_controller);
switch (event->type()) {
case QEvent::FocusOut:
case QEvent::WindowDeactivate: