Skip to content

Commit

Permalink
chore: close #1262
Browse files Browse the repository at this point in the history
  • Loading branch information
NaBian committed Oct 2, 2022
1 parent c64e1a7 commit 5254110
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ private static MessageBox CreateMessageBox(
{
Message = messageBoxText,
Owner = ownerWindow,
WindowStartupLocation = WindowStartupLocation.CenterScreen,
WindowStartupLocation = ownerIsNull ? WindowStartupLocation.CenterScreen : WindowStartupLocation.CenterOwner,
ShowTitle = true,
Title = caption ?? string.Empty,
Topmost = ownerIsNull,
Expand Down

0 comments on commit 5254110

Please sign in to comment.