From b2be79366e33f7ea8734e681706ff5220c3633ce Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 28 Sep 2019 14:24:07 -0700 Subject: [PATCH] Adjust the index of the drag subtool button for the addition of the separator --- 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 6916ae139..6e3ba41db 100644 --- a/src/visual_tool_drag.cpp +++ b/src/visual_tool_drag.cpp @@ -77,7 +77,7 @@ void VisualToolDrag::UpdateToggleButtons() { if (to_move == button_is_move) return; - toolbar->SetToolNormalBitmap(toolbar->GetToolByPos(0)->GetId(), + toolbar->SetToolNormalBitmap(toolbar->GetToolByPos(1)->GetId(), to_move ? ICON(visual_move_conv_move) : ICON(visual_move_conv_pos)); button_is_move = to_move; }