mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
[OOBE] Fix starting PowerToys Run (#13455)
This commit is contained in:
@@ -84,6 +84,10 @@ namespace PowerLauncher.ViewModel
|
||||
public void RegisterHotkey(IntPtr hwnd)
|
||||
{
|
||||
Log.Info("RegisterHotkey()", GetType());
|
||||
|
||||
// Allow OOBE to call PowerToys Run.
|
||||
NativeEventWaiter.WaitForEventLoop(Constants.PowerLauncherSharedEvent(), OnHotkey);
|
||||
|
||||
_settings.PropertyChanged += (s, e) =>
|
||||
{
|
||||
if (e.PropertyName == nameof(PowerToysRunSettings.Hotkey))
|
||||
|
||||
Reference in New Issue
Block a user