Browse Source

- Do not delete selected torrents when hitting delete button unless the transfer tab is actually shown

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
08710ed822
  1. 1
      src/transferlistwidget.cpp

1
src/transferlistwidget.cpp

@ -516,6 +516,7 @@ void TransferListWidget::pauseAllTorrents() { @@ -516,6 +516,7 @@ void TransferListWidget::pauseAllTorrents() {
}
void TransferListWidget::deleteSelectedTorrents() {
if(main_window->getCurrentTabIndex() != TAB_TRANSFER) return;
QModelIndexList selectedIndexes = selectionModel()->selectedRows();
if(!selectedIndexes.empty()) {
bool delete_local_files = false;

Loading…
Cancel
Save