1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 03:45:06 +00:00

ProfileViewer: Make the invert menu item visible again :^)

This commit is contained in:
Emanuel Sprung 2020-04-18 15:31:19 +02:00 committed by Andreas Kling
parent f8e3aa1ad9
commit bf00e33a04

View file

@ -91,6 +91,7 @@ int main(int argc, char** argv)
});
invert_action->set_checkable(true);
invert_action->set_checked(false);
view_menu.add_action(invert_action);
auto percent_action = GUI::Action::create("Show percentages", { Mod_Ctrl, Key_P }, [&](auto& action) {
action.set_checked(!action.is_checked());