diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-15 20:00:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 20:00:44 -0300 |
commit | 6380975ee277db907c52a9aa621c01281b5c12d4 (patch) | |
tree | 11df5af6f8b534efb52eea365501dfe7cdc15a02 /editor/plugins/sample_library_editor_plugin.cpp | |
parent | 1ecb48b8c275f8c895ed34ac7e267871859daf1e (diff) | |
parent | a9da258a656c7c21a006589a2ba0a4c1fd9be6f7 (diff) | |
download | redot-engine-6380975ee277db907c52a9aa621c01281b5c12d4.tar.gz |
Merge pull request #10166 from toger5/asset_lib_style_overrides
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 9e2bc211cf..3deb634491 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 ); |