mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Settings]Bring window to foreground on double click / right click (#31034)
This commit is contained in:
@@ -90,7 +90,9 @@ namespace Microsoft.PowerToys.Settings.UI
|
|||||||
if (type != null)
|
if (type != null)
|
||||||
{
|
{
|
||||||
settingsWindow.NavigateToSection(type);
|
settingsWindow.NavigateToSection(type);
|
||||||
}
|
|
||||||
|
WindowHelpers.BringToForeground(settingsWindow.GetWindowHandle());
|
||||||
|
}
|
||||||
|
|
||||||
if (ensurePageIsSelected)
|
if (ensurePageIsSelected)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user