Skip to content

Commit b81046a

Browse files
Merge pull request #329 from X-Sharp/master
ShowError should only have an OK button and not a Cancel button
2 parents 5b6ca74 + baac508 commit b81046a

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)