mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
options: ensure ui matches options
If we set anonymous mode make sure the ui is disabled to match. Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
parent
af790e40f8
commit
4638a9e6ee
1 changed files with 2 additions and 0 deletions
|
@ -705,6 +705,8 @@ void options_imp::loadOptions() {
|
|||
comboEncryption->setCurrentIndex(pref.getEncryptionSetting());
|
||||
#if LIBTORRENT_VERSION_MINOR > 15
|
||||
checkAnonymousMode->setChecked(pref.isAnonymousModeEnabled());
|
||||
/* make sure ui matches options */
|
||||
toggleAnonymousMode(checkAnonymousMode->isChecked());
|
||||
#endif
|
||||
// Ratio limit
|
||||
floatValue = pref.getGlobalMaxRatio();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue