diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2020-09-17 20:36:11 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-18 09:42:26 +0200 |
commit | e46b4e0865d25dd7e22838a4b973ae0f48e76668 (patch) | |
tree | 553ca83969cfd0b24a2cec3cd18674f98e057fd6 /Games/Minesweeper | |
parent | 07d4b41bac1330804ad2bb4cd7656e5c8ca14717 (diff) | |
download | serenity-e46b4e0865d25dd7e22838a4b973ae0f48e76668.zip |
Minesweeper: Fix inverted Single-Click Chording setting
This was introduced by 705cee528a803b1671d16eeaf222d3318708500b,
where the '!' was copied from the previous implementation, but the
behavior was not
Diffstat (limited to 'Games/Minesweeper')
-rw-r--r-- | Games/Minesweeper/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index 0f6029376a..c9b1a6968f 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -96,7 +96,7 @@ int main(int argc, char** argv) app_menu.add_separator(); auto chord_toggler_action = GUI::Action::create_checkable("Single-click chording", [&](auto& action) { - field.set_single_chording(!action.is_checked()); + field.set_single_chording(action.is_checked()); }); chord_toggler_action->set_checked(field.is_single_chording()); |