diff --git a/PowerControl/Menu/MenuItemWithOptions.cs b/PowerControl/Menu/MenuItemWithOptions.cs index 2818979..84a7d49 100644 --- a/PowerControl/Menu/MenuItemWithOptions.cs +++ b/PowerControl/Menu/MenuItemWithOptions.cs @@ -19,6 +19,14 @@ namespace PowerControl.Menu public MenuItemWithOptions() { this.Selectable = true; + + delayTimer.Tick += delegate (object? sender, EventArgs e) + { + if (delayTimer != null) + delayTimer.Stop(); + + onApply(); + }; } public override void Reset()