citra_qt: ask for confirmation when changing games from the game list (#6186)

Co-authored-by: nobody <nobody>
This commit is contained in:
foghawkandnobody authored and GitHub committed 2022-11-12 10:39:53 +05:30
1 parent bb05d8c12a
commit a76ef97f15
1 file changed
+3 -1
+3 -1
View File
@@ -1320,7 +1320,9 @@ void GMainWindow::UpdateSaveStates() {
}
void GMainWindow::OnGameListLoadFile(QString game_path) {
BootGame(game_path);
if (ConfirmChangeGame()) {
BootGame(game_path);
}
}
void GMainWindow::OnGameListOpenFolder(u64 data_id, GameListOpenTarget target) {