File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1152,13 +1152,13 @@ helper.defaultsDialog = (function () {
11521152 return mspHelper . getSetting ( input . key ) ;
11531153 } ) . then ( function ( ) {
11541154 Promise . mapSeries ( selectedDefaultPreset . settings , function ( input , ii ) {
1155- // if (FC.isControlProfileParameter(input.key)) {
1156- // return privateScope.setSettingForAllControlProfiles(input.key, input.value);
1157- // } else if (FC.isBatteryProfileParameter(input.key)) {
1158- // return privateScope.setSettingForAllBatteryProfiles(input.key, input.value);
1159- // } else {
1160- return mspHelper . setSetting ( input . key , input . value ) ;
1161- // }
1155+ if ( FC . isControlProfileParameter ( input . key ) ) {
1156+ return privateScope . setSettingForAllControlProfiles ( input . key , input . value ) ;
1157+ } else if ( FC . isBatteryProfileParameter ( input . key ) ) {
1158+ return privateScope . setSettingForAllBatteryProfiles ( input . key , input . value ) ;
1159+ } else {
1160+ return mspHelper . setSetting ( input . key , input . value ) ;
1161+ }
11621162 } ) . then ( function ( ) {
11631163
11641164 // If default preset is associated to a mixer, apply the mixer as well
You can’t perform that action at this time.
0 commit comments