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

@ -1782,7 +1782,7 @@ void EditorHelpBit::_bind_methods() {
void EditorHelpBit::_notification(int p_what) {
if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) {
add_style_override("panel", EditorNode::get_singleton()->get_gui_base()->get_stylebox("ScriptPanel", "EditorStyles"));
add_style_override("panel", get_stylebox("ScriptPanel", "EditorStyles"));
}
}