Merge pull request #10166 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes.
This commit is contained in:
commit
6380975ee2
9 changed files with 72 additions and 55 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue