Only set new mouse profile if it actually changed.

This commit is contained in:
IceStormNG
2023-07-30 17:29:26 +02:00
parent 5bf579fec5
commit 0da5002804

View File

@@ -173,6 +173,11 @@ namespace GHelper
private void ComboProfile_DropDownClosed(object? sender, EventArgs e)
{
if (mouse.Profile == comboProfile.SelectedIndex)
{
return;
}
mouse.SetProfile(comboProfile.SelectedIndex);
Task task = Task.Run((Action)RefreshMouseData);
}