1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

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