Browse Source

Fix torrent addition dialog settings saving

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
7dd9680e26
  1. 2
      src/torrentadditiondlg.cpp

2
src/torrentadditiondlg.cpp

@ -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

Loading…
Cancel
Save