diff options
author | toger5 <toger5@hotmail.de> | 2017-08-04 21:41:31 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-08-08 18:36:35 +0200 |
commit | a9da258a656c7c21a006589a2ba0a4c1fd9be6f7 (patch) | |
tree | d356fd9bea3329370475b57f7a93c92c9a54f976 /editor/plugins/sample_library_editor_plugin.cpp | |
parent | 95f10c620d475245e62bed81cb981aa47c926d0b (diff) | |
download | redot-engine-a9da258a656c7c21a006589a2ba0a4c1fd9be6f7.tar.gz |
fixed loading old theme styleboxes
Diffstat (limited to 'editor/plugins/sample_library_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sample_library_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sample_library_editor_plugin.cpp b/editor/plugins/sample_library_editor_plugin.cpp index 5ccfde15ff..00168685b6 100644 --- a/editor/plugins/sample_library_editor_plugin.cpp +++ b/editor/plugins/sample_library_editor_plugin.cpp @@ -432,7 +432,7 @@ SampleLibraryEditor::SampleLibraryEditor() { player = memnew(SamplePlayer); add_child(player); - add_style_override("panel", get_stylebox("panel","Panel")); + add_style_override("panel", EditorNode::get_singleton()->get_gui_base()->get_stylebox("panel","Panel")); load = memnew( Button ); |