summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Todorov <ptodorov@cytec.bg>2017-11-10 12:16:58 +0200
committerPeter Todorov <ptodorov@cytec.bg>2017-11-10 12:16:58 +0200
commit73f27632f6d2d59778ec88ae14d16731d758235d (patch)
tree0cd379a21eef35325d5362a9fcdaf543a3785814
parent118122be3a3a8547726cc97647dd5866ad4ab46e (diff)
Fix for disappearing import panel contents (#11451)
-rw-r--r--editor/import_dock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index 77fd6d883a..e52f3bab72 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -356,6 +356,11 @@ void ImportDock::_notification(int p_what) {
imported->add_style_override("normal", get_stylebox("normal", "LineEdit"));
} break;
+
+ case NOTIFICATION_ENTER_TREE: {
+
+ import_opts->edit(params);
+ } break;
}
}
void ImportDock::_bind_methods() {