瀏覽代碼

C#: Replace usage of deprecated `project_settings_changed` signal

Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`.
Raul Santos 2 年之前
父節點
當前提交
cde9dc6c3c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs

@@ -440,7 +440,7 @@ namespace GodotTools
         {
             base._EnablePlugin();
 
-            ProjectSettingsChanged += GodotSharpDirs.DetermineProjectLocation;
+            ProjectSettings.SettingsChanged += GodotSharpDirs.DetermineProjectLocation;
 
             if (Instance != null)
                 throw new InvalidOperationException();