mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Don't apply some settings again if they weren't changed. Closes #4278.
This commit is contained in:
@@ -1000,10 +1000,9 @@ void options_imp::on_buttonBox_accepted()
|
||||
tabSelection->setCurrentRow(TAB_SPEED);
|
||||
return;
|
||||
}
|
||||
saveOptions();
|
||||
applyButton->setEnabled(false);
|
||||
this->hide();
|
||||
emit status_changed();
|
||||
saveOptions();
|
||||
}
|
||||
saveWindowState();
|
||||
accept();
|
||||
@@ -1017,7 +1016,6 @@ void options_imp::applySettings(QAbstractButton* button)
|
||||
return;
|
||||
}
|
||||
saveOptions();
|
||||
emit status_changed();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user