mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
ProfileViewer: Make initial invert checkbox match initial tree view
The "Invert tree" checkbox was accidentally defaulted to display true when the actual tree wasn't being inverted, causing the checkbox to say the opposite of the tree state initially. This change just brings the visual indicator in line with what the code is actually doing.
This commit is contained in:
parent
3b76f2502a
commit
3809da4abb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ int main(int argc, char** argv)
|
|||
profile->set_inverted(action.is_checked());
|
||||
});
|
||||
invert_action->set_checkable(true);
|
||||
invert_action->set_checked(true);
|
||||
invert_action->set_checked(false);
|
||||
view_menu->add_action(invert_action);
|
||||
|
||||
menubar->add_menu(move(view_menu));
|
||||
|
|
Loading…
Add table
Reference in a new issue