Update counts when an input entry is removed (#977)
This commit is contained in:
parent
164c7b4375
commit
f78e243853
@ -53,6 +53,7 @@ class ScanInputsController {
|
|||||||
for (let i = index, ii = this._entries.length; i < ii; ++i) {
|
for (let i = index, ii = this._entries.length; i < ii; ++i) {
|
||||||
this._entries[i].index = i;
|
this._entries[i].index = i;
|
||||||
}
|
}
|
||||||
|
this._updateCounts();
|
||||||
this._modifyProfileSettings([{
|
this._modifyProfileSettings([{
|
||||||
action: 'splice',
|
action: 'splice',
|
||||||
path: 'scanning.inputs',
|
path: 'scanning.inputs',
|
||||||
|
Loading…
Reference in New Issue
Block a user