Merge pull request #10097 from toger5/asset_lib_style_overrides

fixed loading old theme styleboxes
This commit is contained in:
Rémi Verschelde 2017-08-07 14:47:27 +02:00 committed by GitHub
commit b31ba2f187
8 changed files with 10 additions and 10 deletions

View file

@ -1788,7 +1788,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"));
}
}