diff options
| author | toger5 | 2017-08-04 21:41:31 +0200 |
|---|---|---|
| committer | toger5 | 2017-08-05 01:33:46 +0200 |
| commit | f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c (patch) | |
| tree | 8322c428feb70f85063a5990c0e8e1d2a2eba09f /editor/plugins/sample_editor_plugin.cpp | |
| parent | f79a5c464b95bdd274a4e9e5ff4713c7de2be011 (diff) | |
| download | godot-f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c.tar.gz godot-f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c.tar.zst godot-f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c.zip | |
Diffstat (limited to 'editor/plugins/sample_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/sample_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sample_editor_plugin.cpp b/editor/plugins/sample_editor_plugin.cpp index 739a8abb5..aee208caf 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 ); |
