Merge pull request #4052 from TheHX/issue-4048

Fix crash when importing sub-scenes
This commit is contained in:
Rémi Verschelde 2016-03-14 17:42:42 +01:00
commit bb22db5704

View File

@ -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<String> extensions;