diff options
| author | Franklin Sobrinho | 2016-03-14 13:07:35 -0300 |
|---|---|---|
| committer | Franklin Sobrinho | 2016-03-14 13:07:35 -0300 |
| commit | cb7db2d4302654312cb1de75597e498353bf8ae2 (patch) | |
| tree | 0204086fc3efd1f384e4c7966d1c367e0b5c3fa4 /tools/editor/editor_sub_scene.cpp | |
| parent | be4d58e1203ae35dab97b14f08098f50998d4201 (diff) | |
| download | godot-cb7db2d4302654312cb1de75597e498353bf8ae2.tar.gz godot-cb7db2d4302654312cb1de75597e498353bf8ae2.tar.zst godot-cb7db2d4302654312cb1de75597e498353bf8ae2.zip | |
Fix crash when importing sub-scenes
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_sub_scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_sub_scene.cpp b/tools/editor/editor_sub_scene.cpp index a1a881bec..c5a4f6d58 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<String> extensions; |
