From 9ae43c9959925fc634c04bdad5f38f744b3678de Mon Sep 17 00:00:00 2001 From: Bartosz Cichecki Date: Wed, 1 Jan 2025 23:44:22 +0100 Subject: [PATCH] clean up --- .../Automation/Steps/PlaySoundAutomationStepControl.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LenovoLegionToolkit.WPF/Controls/Automation/Steps/PlaySoundAutomationStepControl.cs b/LenovoLegionToolkit.WPF/Controls/Automation/Steps/PlaySoundAutomationStepControl.cs index 5e77d231a..4fa551b3e 100644 --- a/LenovoLegionToolkit.WPF/Controls/Automation/Steps/PlaySoundAutomationStepControl.cs +++ b/LenovoLegionToolkit.WPF/Controls/Automation/Steps/PlaySoundAutomationStepControl.cs @@ -45,9 +45,8 @@ public override IAutomationStep CreateAutomationStep() return new PlaySoundAutomationStep(_path); } - protected override UIElement? GetCustomControl() + protected override UIElement GetCustomControl() { - _openButton.Click += (_, _) => { var ofd = new OpenFileDialog