mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[RegistryPreview]Fix showing in the background on start (#28452)
* [RegistryPreview] Fix showing in the background on start * Use existing window handle
This commit is contained in:
@@ -97,6 +97,8 @@ namespace RegistryPreview
|
||||
UpdateToolBarAndUI(false);
|
||||
UpdateWindowTitle(resourceLoader.GetString("FileNotFound"));
|
||||
}
|
||||
|
||||
ManagedCommon.WindowHelpers.BringToForeground(windowHandle);
|
||||
}
|
||||
|
||||
private void MainWindow_Activated(object sender, WindowActivatedEventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user