summaryrefslogtreecommitdiffstats
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-02-16 17:53:42 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-02-17 04:17:01 +0100
commitdf9c8bdfd9019a42ede7ea90198567ae499afac8 (patch)
treeedb1ff48f6e21428eca03c537b3b4bf3f25bda9c /src/yuzu/main.cpp
parentMerge pull request #9796 from liamwhite/current (diff)
downloadyuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar.gz
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar.bz2
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar.lz
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar.xz
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.tar.zst
yuzu-df9c8bdfd9019a42ede7ea90198567ae499afac8.zip
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index a1c18ff90..c2542c3ba 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1271,6 +1271,7 @@ void GMainWindow::ConnectWidgetEvents() {
connect(game_list, &GameList::ShowList, this, &GMainWindow::OnGameListShowList);
connect(game_list, &GameList::PopulatingCompleted,
[this] { multiplayer_state->UpdateGameList(game_list->GetModel()); });
+ connect(game_list, &GameList::SaveConfig, this, &GMainWindow::OnSaveConfig);
connect(game_list, &GameList::OpenPerGameGeneralRequested, this,
&GMainWindow::OnGameListOpenPerGameProperties);
@@ -2654,6 +2655,8 @@ void GMainWindow::OnGameListAddDirectory() {
} else {
LOG_WARNING(Frontend, "Selected directory is already in the game list");
}
+
+ OnSaveConfig();
}
void GMainWindow::OnGameListShowList(bool show) {
@@ -3380,6 +3383,7 @@ void GMainWindow::OnConfigureTas() {
return;
} else if (result == QDialog::Accepted) {
dialog.ApplyConfiguration();
+ OnSaveConfig();
}
}