Fix crash when importing sub-scenes
(cherry picked from commit cb7db2d430
)
This commit is contained in:
parent
8fd4c78caf
commit
e59c0610ca
|
@ -219,7 +219,7 @@ EditorSubScene::EditorSubScene() {
|
||||||
tree = memnew( Tree );
|
tree = memnew( Tree );
|
||||||
tree->set_v_size_flags(SIZE_EXPAND_FILL);
|
tree->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
vb->add_margin_child("Import From Node:",tree,true);
|
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 );
|
file_dialog = memnew( EditorFileDialog );
|
||||||
List<String> extensions;
|
List<String> extensions;
|
||||||
|
|
Loading…
Reference in New Issue