summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sample_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-08-07 14:47:27 +0200
committerGitHub <noreply@github.com>2017-08-07 14:47:27 +0200
commitb31ba2f187679b1cdc10fd31a48e59177a5cb0cc (patch)
treeb1d2966e23ec0b613313642cf472bd7cd3cb9455 /editor/plugins/sample_library_editor_plugin.cpp
parentdcadbb8b4078060f0fa3b9c8f455e162d0417c0a (diff)
parentf035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c (diff)
downloadredot-engine-b31ba2f187679b1cdc10fd31a48e59177a5cb0cc.tar.gz
Merge pull request #10097 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 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 );