diff options
author | toger5 <toger5@hotmail.de> | 2017-08-04 21:41:31 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-08-05 01:33:46 +0200 |
commit | f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c (patch) | |
tree | 8322c428feb70f85063a5990c0e8e1d2a2eba09f /editor/plugins/sample_library_editor_plugin.cpp | |
parent | f79a5c464b95bdd274a4e9e5ff4713c7de2be011 (diff) | |
download | redot-engine-f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c.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 ); |