Update counts when an input entry is removed (#977)

This commit is contained in:
toasted-nutbread 2020-10-31 16:38:48 -04:00 committed by GitHub
parent 164c7b4375
commit f78e243853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ class ScanInputsController {
for (let i = index, ii = this._entries.length; i < ii; ++i) {
this._entries[i].index = i;
}
this._updateCounts();
this._modifyProfileSettings([{
action: 'splice',
path: 'scanning.inputs',