(combo)
| 411 | } |
| 412 | |
| 413 | remove(combo) { |
| 414 | const [found, pos] = this.find(combo); |
| 415 | if (!found) |
| 416 | return; |
| 417 | this.combos.remove(pos); |
| 418 | if (this.combos.get_n_items() === 0) |
| 419 | this.combos.append(new Combo({}, this.acceleratorParse)); |
| 420 | this._store(); |
| 421 | } |
| 422 | |
| 423 | replace(oldCombo, newCombo) { |
| 424 | const [found, _] = this.find(newCombo); |
no test coverage detected