Skip to content

Commit baac508

Browse files
ShowError should only have an OK button and not a Cancel button
1 parent 5b6ca74 commit baac508

File tree

1 file changed

+1
-1
lines changed
  • src/toolkit/Community.VisualStudio.Toolkit.Shared/Notifications

1 file changed

+1
-1
lines changed

src/toolkit/Community.VisualStudio.Toolkit.Shared/Notifications/MessageBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public async Task<MessageBoxResult> ShowAsync(string line1,
6161
public MessageBoxResult ShowError(string line1, string line2 = "")
6262
{
6363
ThreadHelper.ThrowIfNotOnUIThread();
64-
return Show(line1, line2, OLEMSGICON.OLEMSGICON_CRITICAL);
64+
return Show(line1, line2, OLEMSGICON.OLEMSGICON_CRITICAL,OLEMSGBUTTON.OLEMSGBUTTON_OK);
6565
}
6666

6767
/// <summary>

0 commit comments

Comments
 (0)