Skip to content

Commit c308669

Browse files
committed
Fix issue( #104
1 parent 389d97c commit c308669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WPFDevelopers.Shared/Controls/MessageBox/MessageBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static MessageBoxResult GetWindow(WDMessageBox msg, Window owner = null)
4848
else
4949
{
5050
var win = ControlsHelper.GetDefaultWindow();
51-
if (win != null)
51+
if (win != null && win != msg)
5252
{
5353
if (win.WindowState == WindowState.Minimized)
5454
msg.BorderThickness = new Thickness(1);

0 commit comments

Comments
 (0)