mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Fix torrent addition dialog settings saving
This commit is contained in:
parent
92661e1d53
commit
7dd9680e26
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue