diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index f93b02a62..8e6ff9ab9 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -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;