Skip to content

Commit 93f0823

Browse files
committed
fix: reset client status label color after error state is cleared
1 parent 9b60693 commit 93f0823

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ private void UpdateClientStatus()
373373
MCPServiceLocator.Client.CheckClientStatus(client);
374374

375375
clientStatusLabel.text = client.GetStatusDisplayString();
376+
377+
// Reset inline color style (clear error state from OnConfigureClicked)
378+
clientStatusLabel.style.color = StyleKeyword.Null;
376379

377380
// Update status indicator color
378381
clientStatusIndicator.RemoveFromClassList("configured");

0 commit comments

Comments
 (0)