summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-11 21:23:29 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-11 21:23:29 -0300
commitbc0ef64bedbfe5a2f091d518aafbf40f7d4c8f3a (patch)
treef2f5c24a0edd4bb4c0e90dee8ce49ab2f4c753f5 /tools
parentb777bf5ff5c3891daa0f93987ca12d0d7d053c2b (diff)
fixed crash on make resources unique menu option, fixes #1874
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index a6625d7204..5e5d2a5409 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -2122,7 +2122,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
}
editor_data.get_undo_redo().clear_history();
- if (editor_plugin_screen) { //reload editor plugin
+ if (editor_plugin_over) { //reload editor plugin
editor_plugin_over->edit(NULL);
editor_plugin_over->edit(current);
}