Skip to content

Commit

Permalink
fix the target list refreshing every time a hotkey is pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Feb 20, 2022
1 parent 1134265 commit 112a69e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VolumeControl/VolumeControlForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ private void NextTarget()
{
if (triggerTargetRefresh)
{
triggerTargetRefresh = false;
UpdateProcessList();
TargetRefreshTimer.Enabled = true;
}
Expand All @@ -348,6 +349,7 @@ private void PrevTarget()
{
if (triggerTargetRefresh)
{
triggerTargetRefresh = false;
UpdateProcessList();
TargetRefreshTimer.Enabled = true;
}
Expand Down

0 comments on commit 112a69e

Please sign in to comment.