fixed loading old theme styleboxes

This commit is contained in:
toger5
2017-08-04 21:41:31 +02:00
parent 95f10c620d
commit a9da258a65
9 changed files with 72 additions and 55 deletions

View File

@ -1246,7 +1246,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(EditorNode *p_editor) {
set_focus_mode(FOCUS_ALL);
player = NULL;
add_style_override("panel", get_stylebox("panel", "Panel"));
add_style_override("panel", editor->get_gui_base()->get_stylebox("panel", "Panel"));
Label *l;