Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 29508bb

Browse files
committed
Make error text box read only
1 parent 5dcf605 commit 29508bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/GitHub.VisualStudio/UI/GitHubPane.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ void ShowInitializing()
151151

152152
void ShowError(Exception e)
153153
{
154-
View = new TextBox { Text = e.ToString() };
154+
View = new TextBox
155+
{
156+
Text = e.ToString(),
157+
IsReadOnly = true,
158+
};
155159
}
156160

157161
void UpdateSearchHost(bool enabled, string query)

0 commit comments

Comments
 (0)