ProfileViewer: Switching to percent mode should take effect immediately

This commit is contained in:
Andreas Kling 2020-04-12 15:22:17 +02:00
parent 235ae80e5e
commit 264726b2d6

View file

@ -96,6 +96,7 @@ int main(int argc, char** argv)
action.set_checked(!action.is_checked());
profile->set_show_percentages(action.is_checked());
tree_view.update();
disassembly_view.update();
});
percent_action->set_checkable(true);
percent_action->set_checked(false);