fix(app): activate window on launch to ensure window foregrounding
This commit is contained in:
parent
38de8ffab9
commit
f1000cc838
2 changed files with 11 additions and 2 deletions
|
|
@ -79,6 +79,7 @@ public partial class App : Application
|
|||
var window = new MainWindow(Engine, Settings);
|
||||
MainWindow = window;
|
||||
window.Show();
|
||||
window.Activate();
|
||||
}
|
||||
|
||||
private void ShowConvertDialog(IReadOnlyList<string> files)
|
||||
|
|
@ -86,6 +87,7 @@ public partial class App : Application
|
|||
var window = new Views.MainWindow(Engine, Settings, files);
|
||||
MainWindow = window;
|
||||
window.Show();
|
||||
window.Activate();
|
||||
}
|
||||
|
||||
private void ShowDiagnoseWindow()
|
||||
|
|
@ -93,6 +95,7 @@ public partial class App : Application
|
|||
var window = new DiagnoseWindow(Engine);
|
||||
MainWindow = window;
|
||||
window.Show();
|
||||
window.Activate();
|
||||
}
|
||||
|
||||
private async Task RunQuickAsync(IReadOnlyList<string> files, string outputExtension)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue