summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-09 19:04:27 +0100
committerGitHub <noreply@github.com>2017-12-09 19:04:27 +0100
commit59657d68230bdcfde7ce268ec2e7ed791cc7de90 (patch)
tree31288e8b1be96a38a11285f43629998892b247a9 /editor
parent45f7fc46f8066d8e3a460ed2ce1a2facf624abcd (diff)
parente1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a (diff)
Merge pull request #14448 from groud/fix_checkboxes_update
Fixes the checkboxes update in canvas item editor
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index 213f293bea..e63bc3ad9f 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4342,6 +4342,9 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
drag = DRAG_NONE;
bone_last_frame = 0;
additive_selection = false;
+
+ // Update the menus checkboxes
+ set_state(get_state());
}
CanvasItemEditor *CanvasItemEditor::singleton = NULL;