From 3809da4abb03d6b5c14b3da91b7b3cb45a1d2c92 Mon Sep 17 00:00:00 2001 From: Ohad Rau Date: Mon, 16 Dec 2019 23:46:39 -0500 Subject: [PATCH] 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. --- DevTools/ProfileViewer/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/ProfileViewer/main.cpp b/DevTools/ProfileViewer/main.cpp index 8d8c1d08a3..29756d2000 100644 --- a/DevTools/ProfileViewer/main.cpp +++ b/DevTools/ProfileViewer/main.cpp @@ -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));