Fix torrent addition dialog settings saving

This commit is contained in:
Christophe Dumez 2010-06-22 18:18:53 +00:00
parent 92661e1d53
commit 7dd9680e26

View file

@ -91,7 +91,7 @@ void torrentAdditionDialog::readSettings() {
}
void torrentAdditionDialog::saveSettings() {
if(is_magnet) return;
if(is_magnet || t->num_files() <= 1) return;
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
QStringList contentColsWidths;
// -1 because we hid PROGRESS column