mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
UI: Avoid navigation with an active dialog.
Cleaning up next.
This commit is contained in:
1 parent
68a5861f60
commit
e945ad6ac1
5 files changed
+23
-29
No files matched your search
@@ -256,7 +256,7 @@ void ControlMappingScreen::sendMessage(const char *message, const char *value) {
|
||||
// Always call the base class method first to handle the most common messages.
|
||||
UIDialogScreenWithBackground::sendMessage(message, value);
|
||||
|
||||
if (!strcmp(message, "settings")) {
|
||||
if (!strcmp(message, "settings") && screenManager()->topScreen() == this) {
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
screenManager()->push(new GameSettingsScreen(""));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user