summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2017-12-09 15:25:20 +0100
committerGilles Roudiere <gilles.roudiere@gmail.com>2017-12-09 15:25:20 +0100
commite1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a (patch)
treefe65c63f574a5eecfded81e31609b15718314cb4 /editor/plugins
parent7b02f5591d2a4c4d2d7da723b1303a99b6c4f168 (diff)
Fixes the checkboxes update
Diffstat (limited to 'editor/plugins')
-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 ddcdb5a321..a7733cd2d9 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;