|
|
|
@ -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()); |
|
|
|
} |
|
|
|
|