mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-27 03:24:20 +01:00
Make sure to add timer stop when event is called
I know that I added the call at some point during testing before.
This commit is contained in:
parent
b28a6cb446
commit
f7da78090f
@ -556,6 +556,8 @@ namespace DS4Windows
|
|||||||
|
|
||||||
void Hotkeys(object sender, EventArgs e)
|
void Hotkeys(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
hotkeysTimer.Stop();
|
||||||
|
|
||||||
if (SwipeProfiles)
|
if (SwipeProfiles)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
@ -607,6 +609,8 @@ namespace DS4Windows
|
|||||||
|
|
||||||
private void CheckAutoProfiles(object sender, EventArgs e)
|
private void CheckAutoProfiles(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
autoProfilesTimer.Stop();
|
||||||
|
|
||||||
//Check for process for auto profiles
|
//Check for process for auto profiles
|
||||||
if (string.IsNullOrEmpty(tempProfileProgram))
|
if (string.IsNullOrEmpty(tempProfileProgram))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user