Browse Source

C#: Replace usage of deprecated `project_settings_changed` signal

Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`.
Raul Santos 2 years ago
parent
commit
cde9dc6c3c
1 changed files with 1 additions and 1 deletions
  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();