From 7ac2983c610615f04f66b4f2f7bebffb3d92e18e Mon Sep 17 00:00:00 2001 From: wangqr Date: Wed, 6 May 2020 20:24:15 -0400 Subject: [PATCH] Remove redundant UpdateToggleButtons() in VisualToolDrag::OnSubTool --- src/visual_tool_drag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visual_tool_drag.cpp b/src/visual_tool_drag.cpp index 6678a9169..9930ffe06 100644 --- a/src/visual_tool_drag.cpp +++ b/src/visual_tool_drag.cpp @@ -102,7 +102,7 @@ void VisualToolDrag::OnSubTool(wxCommandEvent &) { Commit(); OnFileChanged(); - UpdateToggleButtons(); + //UpdateToggleButtons(); } void VisualToolDrag::OnLineChanged() {