mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: don't mark inactive profile as active
This commit is contained in:
committed by
Peter Hutterer
parent
48d654827e
commit
81ca281f2c
@@ -604,7 +604,7 @@ sinowealth_update_profile_from_config(struct ratbag_profile *profile)
|
||||
ratbag_led_unref(led);
|
||||
}
|
||||
|
||||
profile->is_active = true;
|
||||
profile->is_active = profile->index == drv_data->current_profile_index;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user