aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/sample_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-15 20:00:44 -0300
committerGitHub2017-08-15 20:00:44 -0300
commit6380975ee277db907c52a9aa621c01281b5c12d4 (patch)
tree11df5af6f8b534efb52eea365501dfe7cdc15a02 /editor/plugins/sample_editor_plugin.cpp
parent1ecb48b8c275f8c895ed34ac7e267871859daf1e (diff)
parenta9da258a656c7c21a006589a2ba0a4c1fd9be6f7 (diff)
downloadgodot-6380975ee277db907c52a9aa621c01281b5c12d4.tar.gz
godot-6380975ee277db907c52a9aa621c01281b5c12d4.tar.zst
godot-6380975ee277db907c52a9aa621c01281b5c12d4.zip
Diffstat (limited to 'editor/plugins/sample_editor_plugin.cpp')
-rw-r--r--editor/plugins/sample_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sample_editor_plugin.cpp b/editor/plugins/sample_editor_plugin.cpp
index c4f04f0a8..1d6417e2d 100644
--- a/editor/plugins/sample_editor_plugin.cpp
+++ b/editor/plugins/sample_editor_plugin.cpp
@@ -360,7 +360,7 @@ SampleEditor::SampleEditor() {
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"));
library = Ref<SampleLibrary>(memnew(SampleLibrary));
player->set_sample_library(library);
sample_texframe = memnew( TextureRect );