diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-17 16:13:39 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-05-25 02:25:39 -0400 |
commit | c1bad4357ac90de0dc25f2d4fb3ae7f9dbe138b6 (patch) | |
tree | 75b8144692a32c5f71fe08d7d2186cfe18f4d12c /src/yuzu/uisettings.h | |
parent | 7626ca3343fda069d935bf3c95b637c929b6b7ac (diff) |
yuzu qt: Add an Apply button to configuration dialogs
Most of the code already exists to do this, but the Apply button itself
was never added. This adds a button and boolean that tells yuzu to save
the configuration after applying settings, even if close/Cancel is
pressed on the dialog. Changes after applying will not be saved when
Cancel is pressed, though.
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r-- | src/yuzu/uisettings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index 5ba00b8c8..49122ec32 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h @@ -95,6 +95,8 @@ struct Values { uint8_t row_2_text_id; std::atomic_bool is_game_list_reload_pending{false}; bool cache_game_list; + + bool configuration_applied; }; extern Values values; |