Browse Source

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>
adaptive-webui-19844
Spencer Oliver 12 years ago committed by Christophe Dumez
parent
commit
e3c78d3a81
  1. 2
      src/preferences/options_imp.cpp

2
src/preferences/options_imp.cpp

@ -723,6 +723,8 @@ void options_imp::loadOptions() { @@ -723,6 +723,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…
Cancel
Save