fix adding an already removed torrent
This commit is contained in:
parent
fec735f948
commit
028a35bfc8
|
@ -339,6 +339,7 @@
|
||||||
selModel.deselectRow(this.getStore().indexOf(record));
|
selModel.deselectRow(this.getStore().indexOf(record));
|
||||||
}
|
}
|
||||||
this.getStore().remove(record);
|
this.getStore().remove(record);
|
||||||
|
delete this.torrents[torrentId];
|
||||||
}, this);
|
}, this);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue