summaryrefslogtreecommitdiff
path: root/editor/io_plugins
diff options
context:
space:
mode:
authortoger5 <toger5@hotmail.de>2017-08-04 21:41:31 +0200
committertoger5 <toger5@hotmail.de>2017-08-05 01:33:46 +0200
commitf035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c (patch)
tree8322c428feb70f85063a5990c0e8e1d2a2eba09f /editor/io_plugins
parentf79a5c464b95bdd274a4e9e5ff4713c7de2be011 (diff)
fixed loading old theme styleboxes
Diffstat (limited to 'editor/io_plugins')
-rw-r--r--editor/io_plugins/editor_scene_import_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/io_plugins/editor_scene_import_plugin.cpp b/editor/io_plugins/editor_scene_import_plugin.cpp
index aa96f731ce..1890ca906a 100644
--- a/editor/io_plugins/editor_scene_import_plugin.cpp
+++ b/editor/io_plugins/editor_scene_import_plugin.cpp
@@ -1307,7 +1307,7 @@ EditorSceneImportDialog::EditorSceneImportDialog(EditorNode *p_editor, EditorSce
//confirm_import->set_child_rect(cvb);
PanelContainer *pc = memnew( PanelContainer );
- pc->add_style_override("panel",get_stylebox("normal","TextEdit"));
+ pc->add_style_override("panel", EditorNode::get_singleton()->get_gui_base()->get_stylebox("normal","TextEdit"));
//ec->add_child(pc);
missing_files = memnew( RichTextLabel );
cvb->add_margin_child(TTR("The Following Files are Missing:"),pc,true);