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

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

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