From 112a69ed79c4e083ab36e3a67b14b1eaeb15b601 Mon Sep 17 00:00:00 2001 From: radj307 Date: Sun, 20 Feb 2022 01:29:00 -0500 Subject: [PATCH] fix the target list refreshing every time a hotkey is pressed --- VolumeControl/VolumeControlForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VolumeControl/VolumeControlForm.cs b/VolumeControl/VolumeControlForm.cs index 792b9d61b..0dd180721 100644 --- a/VolumeControl/VolumeControlForm.cs +++ b/VolumeControl/VolumeControlForm.cs @@ -324,6 +324,7 @@ private void NextTarget() { if (triggerTargetRefresh) { + triggerTargetRefresh = false; UpdateProcessList(); TargetRefreshTimer.Enabled = true; } @@ -348,6 +349,7 @@ private void PrevTarget() { if (triggerTargetRefresh) { + triggerTargetRefresh = false; UpdateProcessList(); TargetRefreshTimer.Enabled = true; }