summaryrefslogtreecommitdiff
path: root/Userland/Games
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-05-18 09:01:25 -0400
committerAndreas Kling <kling@serenityos.org>2021-05-18 16:48:39 +0200
commit97cee35471e9c58860d3157e9a895f25933304b4 (patch)
tree882aea56767f988a380f2ae0cd982f33f927c9fd /Userland/Games
parent1a66f487a5a6efe8d236bf36a919bac303129ef3 (diff)
downloadserenity-97cee35471e9c58860d3157e9a895f25933304b4.zip
2048: Do not default to only temporarily applying settings changes
Also tweak its text in the settings window to be clearer on what this check box is doing. Seemed a bit confusing that settings changes required an extra action to persist.
Diffstat (limited to 'Userland/Games')
-rw-r--r--Userland/Games/2048/GameSizeDialog.cpp2
-rw-r--r--Userland/Games/2048/GameSizeDialog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/2048/GameSizeDialog.cpp b/Userland/Games/2048/GameSizeDialog.cpp
index 52f30d7216..4def92cb5e 100644
--- a/Userland/Games/2048/GameSizeDialog.cpp
+++ b/Userland/Games/2048/GameSizeDialog.cpp
@@ -65,7 +65,7 @@ GameSizeDialog::GameSizeDialog(GUI::Window* parent, size_t board_size, size_t ta
evil_ai_checkbox.set_checked(m_evil_ai);
evil_ai_checkbox.on_checked = [this](auto checked) { m_evil_ai = checked; };
- auto& temp_checkbox = main_widget.add<GUI::CheckBox>("Temporary");
+ auto& temp_checkbox = main_widget.add<GUI::CheckBox>("Temporarily apply changes");
temp_checkbox.set_checked(m_temporary);
temp_checkbox.on_checked = [this](auto checked) { m_temporary = checked; };
diff --git a/Userland/Games/2048/GameSizeDialog.h b/Userland/Games/2048/GameSizeDialog.h
index a3a604bde5..5bc10f72a5 100644
--- a/Userland/Games/2048/GameSizeDialog.h
+++ b/Userland/Games/2048/GameSizeDialog.h
@@ -23,5 +23,5 @@ private:
size_t m_board_size;
size_t m_target_tile_power;
bool m_evil_ai;
- bool m_temporary { true };
+ bool m_temporary { false };
};