diff options
| author | Rémi Verschelde | 2017-08-07 14:47:27 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-07 14:47:27 +0200 |
| commit | b31ba2f187679b1cdc10fd31a48e59177a5cb0cc (patch) | |
| tree | b1d2966e23ec0b613313642cf472bd7cd3cb9455 /editor/plugins/sample_editor_plugin.cpp | |
| parent | dcadbb8b4078060f0fa3b9c8f455e162d0417c0a (diff) | |
| parent | f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c (diff) | |
| download | godot-b31ba2f187679b1cdc10fd31a48e59177a5cb0cc.tar.gz godot-b31ba2f187679b1cdc10fd31a48e59177a5cb0cc.tar.zst godot-b31ba2f187679b1cdc10fd31a48e59177a5cb0cc.zip | |
Merge pull request #10097 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes
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 ); |
