From 6553f5c242865f9aadbe2fdab6db6876c44ac472 Mon Sep 17 00:00:00 2001 From: Jakob Bouchard <24767889+jakobbouchard@users.noreply.github.com> Date: Wed, 16 Feb 2022 09:17:55 -0500 Subject: Convert _notification methods to switch - Chunk C --- editor/shader_create_dialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/shader_create_dialog.cpp') diff --git a/editor/shader_create_dialog.cpp b/editor/shader_create_dialog.cpp index 3c807548ab..dbc78e846c 100644 --- a/editor/shader_create_dialog.cpp +++ b/editor/shader_create_dialog.cpp @@ -57,6 +57,7 @@ void ShaderCreateDialog::_notification(int p_what) { current_mode = EditorSettings::get_singleton()->get_project_metadata("shader_setup", "last_selected_mode", 0); mode_menu->select(current_mode); } break; + case NOTIFICATION_THEME_CHANGED: { _update_theme(); } break; -- cgit v1.2.3