Make the request to redraw when clearing guides a part of UndoRedo
This commit is contained in:
parent
79454bfd3b
commit
c5977064a3
1 changed files with 1 additions and 1 deletions
|
@ -4556,9 +4556,9 @@ void CanvasItemEditor::_popup_callback(int p_op) {
|
|||
undo_redo->add_do_method(root, "remove_meta", "_edit_vertical_guides_");
|
||||
undo_redo->add_undo_method(root, "set_meta", "_edit_vertical_guides_", vguides);
|
||||
}
|
||||
undo_redo->add_do_method(viewport, "queue_redraw");
|
||||
undo_redo->add_undo_method(viewport, "queue_redraw");
|
||||
undo_redo->commit_action();
|
||||
viewport->queue_redraw();
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue