- BUGFIX: Ignore permanent deletion button when no torrent is selected

- BUGFIX: When a selected torrent is deleted, select next suitable torrent
  - Bump to v1.5.3
This commit is contained in:
Christophe Dumez
2009-09-30 20:33:26 +00:00
parent 9500b212c7
commit 7a685f5ab6
7 changed files with 36 additions and 5 deletions

View File

@@ -868,6 +868,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
default:
return;
}
if(hashes.empty()) return;
int ret;
if(inDownloadList) {
ret = QMessageBox::question(
@@ -919,7 +920,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
default:
return;
}
if(!hashes.size()) return;
if(hashes.empty()) return;
int ret;
if(inDownloadList) {
ret = QMessageBox::question(