From 73f27632f6d2d59778ec88ae14d16731d758235d Mon Sep 17 00:00:00 2001 From: Peter Todorov Date: Fri, 10 Nov 2017 12:16:58 +0200 Subject: [PATCH] Fix for disappearing import panel contents (#11451) --- editor/import_dock.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index 77fd6d883a6..e52f3bab72a 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() {