summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sample_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-15 20:00:44 -0300
committerGitHub <noreply@github.com>2017-08-15 20:00:44 -0300
commit6380975ee277db907c52a9aa621c01281b5c12d4 (patch)
tree11df5af6f8b534efb52eea365501dfe7cdc15a02 /editor/plugins/sample_library_editor_plugin.cpp
parent1ecb48b8c275f8c895ed34ac7e267871859daf1e (diff)
parenta9da258a656c7c21a006589a2ba0a4c1fd9be6f7 (diff)
downloadredot-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.cpp2
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 );