mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix potential scripting context conflict (fixes #2948)
This commit is contained in:
parent
76e5aa7148
commit
870c2f8bab
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue