From f78e243853418abe2c741bd667bed75b7bd90b4c Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 31 Oct 2020 16:38:48 -0400 Subject: [PATCH] Update counts when an input entry is removed (#977) --- ext/bg/js/settings/scan-inputs-controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/bg/js/settings/scan-inputs-controller.js b/ext/bg/js/settings/scan-inputs-controller.js index 4f736d53..fbafe570 100644 --- a/ext/bg/js/settings/scan-inputs-controller.js +++ b/ext/bg/js/settings/scan-inputs-controller.js @@ -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',