mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Only set new mouse profile if it actually changed.
This commit is contained in:
@@ -173,6 +173,11 @@ namespace GHelper
|
|||||||
|
|
||||||
private void ComboProfile_DropDownClosed(object? sender, EventArgs e)
|
private void ComboProfile_DropDownClosed(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (mouse.Profile == comboProfile.SelectedIndex)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mouse.SetProfile(comboProfile.SelectedIndex);
|
mouse.SetProfile(comboProfile.SelectedIndex);
|
||||||
Task task = Task.Run((Action)RefreshMouseData);
|
Task task = Task.Run((Action)RefreshMouseData);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user