aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/sample_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-07 16:00:34 -0300
committerGitHub2017-08-07 16:00:34 -0300
commita0d969c5602728df3edb5b06cb24c92f48d9c7b4 (patch)
treea04a1a925d99df8ed25b4f8882dce4226058476f /editor/plugins/sample_editor_plugin.cpp
parentcd9539f85d167b457f47f3558f2ea5fe120d0ecf (diff)
downloadgodot-a0d969c5602728df3edb5b06cb24c92f48d9c7b4.tar.gz
godot-a0d969c5602728df3edb5b06cb24c92f48d9c7b4.tar.zst
godot-a0d969c5602728df3edb5b06cb24c92f48d9c7b4.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 aee208caf..739a8abb5 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", EditorNode::get_singleton()->get_gui_base()->get_stylebox("panel","Panel"));
+ add_style_override("panel", get_stylebox("panel","Panel"));
library = Ref<SampleLibrary>(memnew(SampleLibrary));
player->set_sample_library(library);
sample_texframe = memnew( TextureRect );