From cb7db2d4302654312cb1de75597e498353bf8ae2 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Mon, 14 Mar 2016 13:07:35 -0300 Subject: [PATCH] Fix crash when importing sub-scenes --- tools/editor/editor_sub_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/editor_sub_scene.cpp b/tools/editor/editor_sub_scene.cpp index a1a881bec59..c5a4f6d58b8 100644 --- a/tools/editor/editor_sub_scene.cpp +++ b/tools/editor/editor_sub_scene.cpp @@ -219,7 +219,7 @@ EditorSubScene::EditorSubScene() { tree = memnew( Tree ); tree->set_v_size_flags(SIZE_EXPAND_FILL); vb->add_margin_child("Import From Node:",tree,true); - tree->connect("item_activated",this,"_ok"); + tree->connect("item_activated",this,"_ok",make_binds(),CONNECT_DEFERRED); file_dialog = memnew( EditorFileDialog ); List extensions;