From f035e4a24abf9e7c8e72ffdf3c5e6c2968c4393c Mon Sep 17 00:00:00 2001 From: toger5 Date: Fri, 4 Aug 2017 21:41:31 +0200 Subject: fixed loading old theme styleboxes --- editor/editor_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/editor_help.cpp') diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index e890082ee..debea98b2 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -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")); } } -- cgit v1.2.3-70-g09d2