Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit e79eeca

Browse files
committed
Clear error messages when changing git settings
1 parent cbd5c3f commit e79eeca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/UnityExtension/Assets/Editor/GitHub.Unity/UI/GitPathView.cs

+3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public override void OnGUI()
124124
if (EditorGUI.EndChangeCheck())
125125
{
126126
changingManually = true;
127+
errorMessage = "";
127128
}
128129
}
129130
GUILayout.EndHorizontal();
@@ -156,6 +157,7 @@ public override void OnGUI()
156157
resetToBundled = true;
157158
resetToSystem = false;
158159
changingManually = false;
160+
errorMessage = "";
159161
}
160162

161163
//Find button - for attempting to locate a new install
@@ -189,6 +191,7 @@ public override void OnGUI()
189191
resetToBundled = false;
190192
resetToSystem = true;
191193
changingManually = false;
194+
errorMessage = "";
192195
Redraw();
193196
})
194197
.Start();

0 commit comments

Comments
 (0)