summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2017-12-26 16:39:03 +0100
committerGilles Roudiere <gilles.roudiere@gmail.com>2017-12-26 16:39:58 +0100
commitb8c849205c18c632e34c66c294bd5b38b11687f3 (patch)
treea7023963679c8bc728a9da921d99222bc08cbb1a
parent02e883713aa4a36c83e64d242c8bd009f89d10c3 (diff)
Fix 2D editor checkboxes with a new project
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index ceb1ec09fc..1241441d43 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4344,7 +4344,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
additive_selection = false;
// Update the menus checkboxes
- call_deferred("set_state", get_state());
+ set_state(get_state());
}
CanvasItemEditor *CanvasItemEditor::singleton = NULL;