danwalmsley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
9 deletions
-
src/Avalonia.Controls/Application.cs
|
|
|
@ -255,16 +255,13 @@ namespace Avalonia |
|
|
|
|
|
|
|
if (MainWindow == null) |
|
|
|
{ |
|
|
|
Dispatcher.UIThread.Post(() => |
|
|
|
if (!mainWindow.IsVisible) |
|
|
|
{ |
|
|
|
if (!mainWindow.IsVisible) |
|
|
|
{ |
|
|
|
mainWindow.Show(); |
|
|
|
} |
|
|
|
|
|
|
|
MainWindow = mainWindow; |
|
|
|
}); |
|
|
|
} |
|
|
|
mainWindow.Show(); |
|
|
|
} |
|
|
|
|
|
|
|
MainWindow = mainWindow; |
|
|
|
} |
|
|
|
|
|
|
|
return Run(new CancellationTokenSource()); |
|
|
|
} |
|
|
|
|