Skip to content

Commit

Permalink
ProfileViewer: Make initial invert checkbox match initial tree view
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
OhadRau authored and awesomekling committed Dec 17, 2019
1 parent 3b76f25 commit 3809da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevTools/ProfileViewer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3809da4

Please sign in to comment.