Adjust the index of the drag subtool button for the addition of the separator
This commit is contained in:
parent
ea4010dcbe
commit
b2be79366e
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ void VisualToolDrag::UpdateToggleButtons() {
|
||||||
|
|
||||||
if (to_move == button_is_move) return;
|
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));
|
to_move ? ICON(visual_move_conv_move) : ICON(visual_move_conv_pos));
|
||||||
button_is_move = to_move;
|
button_is_move = to_move;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue