citra_qt: ask for confirmation when changing games from the game list (#6186)
Co-authored-by: nobody <nobody>
This commit is contained in:
parent
bb05d8c12a
commit
a76ef97f15
|
@ -1320,8 +1320,10 @@ void GMainWindow::UpdateSaveStates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::OnGameListLoadFile(QString game_path) {
|
void GMainWindow::OnGameListLoadFile(QString game_path) {
|
||||||
|
if (ConfirmChangeGame()) {
|
||||||
BootGame(game_path);
|
BootGame(game_path);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void GMainWindow::OnGameListOpenFolder(u64 data_id, GameListOpenTarget target) {
|
void GMainWindow::OnGameListOpenFolder(u64 data_id, GameListOpenTarget target) {
|
||||||
std::string path;
|
std::string path;
|
||||||
|
|
Loading…
Reference in New Issue