1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

fixed loading old theme styleboxes

This commit is contained in:
toger5
2017-08-04 21:41:31 +02:00
parent f79a5c464b
commit f035e4a24a
8 changed files with 10 additions and 10 deletions

View File

@@ -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 );