Skip to content

Commit 5d33bba

Browse files
committed
deleted never used vars.
1 parent 33927ec commit 5d33bba

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

MCPForUnity/Editor/Windows/Components/Settings/McpSettingsSection.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ public class McpSettingsSection
2828
private ValidationLevel currentValidationLevel = ValidationLevel.Standard;
2929

3030
// Events
31-
public event Action OnGitUrlChanged;
32-
public event Action OnHttpServerCommandUpdateRequested;
31+
3332

3433
// Validation levels
3534
private enum ValidationLevel

MCPForUnity/Editor/Windows/MCPForUnityEditorWindow.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ public void CreateGUI()
133133
var settingsRoot = settingsTree.Instantiate();
134134
settingsPlaceholder.Add(settingsRoot);
135135
settingsSection = new McpSettingsSection(settingsRoot);
136-
settingsSection.OnGitUrlChanged += () => clientConfigSection?.UpdateManualConfiguration();
137-
settingsSection.OnHttpServerCommandUpdateRequested += () => connectionSection?.UpdateHttpServerCommandDisplay();
138136
}
139137

140138
// 3. Connection Section

0 commit comments

Comments
 (0)