mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
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.
This commit is contained in:
parent
1a66f487a5
commit
97cee35471
2 changed files with 2 additions and 2 deletions
|
@ -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; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue