diff --git a/editor/shader/visual_shader_editor_plugin.cpp b/editor/shader/visual_shader_editor_plugin.cpp index 4688c14f630..e7e684e7630 100644 --- a/editor/shader/visual_shader_editor_plugin.cpp +++ b/editor/shader/visual_shader_editor_plugin.cpp @@ -5247,10 +5247,6 @@ void VisualShaderEditor::_help_open() { void VisualShaderEditor::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_POSTINITIALIZE: { - _update_options_menu(); - } break; - case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { if (EditorSettings::get_singleton()->check_changed_settings_in_group("editors/panning")) { graph->get_panner()->setup((ViewPanner::ControlScheme)EDITOR_GET("editors/panning/sub_editors_panning_scheme").operator int(), ED_GET_SHORTCUT("canvas_item_editor/pan_view"), bool(EDITOR_GET("editors/panning/simple_panning"))); @@ -5353,6 +5349,7 @@ void VisualShaderEditor::_notification(int p_what) { theme_dirty = true; } update_toggle_files_button(); + _update_options_menu(); } break; case NOTIFICATION_VISIBILITY_CHANGED: {