Skip to content

Commit

Permalink
Reenable setting values for all profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed Dec 6, 2023
1 parent 1dd24ab commit 3a26db0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions js/defaults_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,13 +1152,13 @@ helper.defaultsDialog = (function () {
return mspHelper.getSetting(input.key);
}).then(function () {
Promise.mapSeries(selectedDefaultPreset.settings, function (input, ii) {
// if (FC.isControlProfileParameter(input.key)) {
// return privateScope.setSettingForAllControlProfiles(input.key, input.value);
// } else if (FC.isBatteryProfileParameter(input.key)) {
// return privateScope.setSettingForAllBatteryProfiles(input.key, input.value);
// } else {
return mspHelper.setSetting(input.key, input.value);
// }
if (FC.isControlProfileParameter(input.key)) {
return privateScope.setSettingForAllControlProfiles(input.key, input.value);
} else if (FC.isBatteryProfileParameter(input.key)) {
return privateScope.setSettingForAllBatteryProfiles(input.key, input.value);
} else {
return mspHelper.setSetting(input.key, input.value);
}
}).then(function () {

// If default preset is associated to a mixer, apply the mixer as well
Expand Down

0 comments on commit 3a26db0

Please sign in to comment.