From 3e7228d13775f33c9e680965f9a027bf13e5baa8 Mon Sep 17 00:00:00 2001 From: Ayan Chavand Date: Sun, 7 Dec 2025 15:42:43 +0530 Subject: [PATCH] Fix shader editor filename not updating after file rename --- editor/shader/shader_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/shader/shader_editor_plugin.cpp b/editor/shader/shader_editor_plugin.cpp index 9e468b033f..3142adfea9 100644 --- a/editor/shader/shader_editor_plugin.cpp +++ b/editor/shader/shader_editor_plugin.cpp @@ -828,6 +828,7 @@ void ShaderEditorPlugin::_notification(int p_what) { EditorNode::get_singleton()->connect("scene_closed", callable_mp(this, &ShaderEditorPlugin::_close_builtin_shaders_from_scene)); FileSystemDock::get_singleton()->connect("file_removed", callable_mp(this, &ShaderEditorPlugin::_file_removed)); EditorNode::get_singleton()->connect("resource_saved", callable_mp(this, &ShaderEditorPlugin::_res_saved_callback)); + EditorFileSystem::get_singleton()->connect("filesystem_changed", callable_mp(this, &ShaderEditorPlugin::_update_shader_list)); } break; } }