From fe67ba032dc81ac8959f5d01ae967cd8ebc0398e Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Thu, 2 Jan 2020 20:30:16 +1300 Subject: [PATCH] PaintBrush: Select tool button on context menu event This means that (for example) if you change the line width of the line tool, you now switch to the line tool, instead of sticking with the currently "checked" tool. --- Applications/PaintBrush/ToolboxWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/PaintBrush/ToolboxWidget.cpp b/Applications/PaintBrush/ToolboxWidget.cpp index 9627a88b13..1b75a59a7a 100644 --- a/Applications/PaintBrush/ToolboxWidget.cpp +++ b/Applications/PaintBrush/ToolboxWidget.cpp @@ -27,6 +27,7 @@ public: virtual void context_menu_event(GContextMenuEvent& event) override { + set_checked(true); m_tool->on_contextmenu(event); }