From 35d0419ecfe89806b2767efbd708be96a84d4278 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Sat, 10 Aug 2024 22:07:09 -0400 Subject: [PATCH] GH-703 Update FileSystemDock on file save as --- src/editor/editor_panel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor/editor_panel.cpp b/src/editor/editor_panel.cpp index 816a3f06..021077bd 100644 --- a/src/editor/editor_panel.cpp +++ b/src/editor/editor_panel.cpp @@ -36,6 +36,7 @@ #include #include +#include #include #include #include @@ -430,6 +431,8 @@ void OrchestratorEditorPanel::_save_script_file(const String& p_file_name) _update_file_list(); } } + + EditorInterface::get_singleton()->get_resource_filesystem()->update_file(p_file_name); } void OrchestratorEditorPanel::_save_script()