mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 18:41:31 +00:00
Allow interacting with the render window while configuring controllers
WindowModal allows alt+tabing to the render window, but prohibits interaction with parent windows (controller settings window and the main dolphin window).
This commit is contained in:
parent
e7bc86881d
commit
7c80fcde53
@ -426,7 +426,10 @@ void ControllersWindow::OnGCPadConfigure()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MappingWindow(this, type, static_cast<int>(index)).exec();
|
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
|
||||||
|
window->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
|
window->setWindowModality(Qt::WindowModality::WindowModal);
|
||||||
|
window->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllersWindow::OnWiimoteConfigure()
|
void ControllersWindow::OnWiimoteConfigure()
|
||||||
@ -451,7 +454,10 @@ void ControllersWindow::OnWiimoteConfigure()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MappingWindow(this, type, static_cast<int>(index)).exec();
|
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
|
||||||
|
window->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
|
window->setWindowModality(Qt::WindowModality::WindowModal);
|
||||||
|
window->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllersWindow::LoadSettings()
|
void ControllersWindow::LoadSettings()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user