Browse Source

Don't disable DHT when using force proxy

Closes #9292
adaptive-webui-19844
Thomas Piccirello 6 years ago
parent
commit
c10d237f7a
  1. 1
      src/gui/optionsdialog.cpp
  2. 1
      src/webui/www/private/preferences_content.html

1
src/gui/optionsdialog.cpp

@ -1358,7 +1358,6 @@ void OptionsDialog::toggleComboRatioLimitAct() @@ -1358,7 +1358,6 @@ void OptionsDialog::toggleComboRatioLimitAct()
void OptionsDialog::enableForceProxy(bool enable)
{
m_ui->checkUPnP->setEnabled(!enable);
m_ui->checkDHT->setEnabled(!enable);
m_ui->checkLSD->setEnabled(!enable);
}

1
src/webui/www/private/preferences_content.html

@ -660,7 +660,6 @@ @@ -660,7 +660,6 @@
updateForceProxySettings = function() {
var isForceProxyEnabled = (!$('force_proxy_checkbox').getProperty('disabled')) && ($('force_proxy_checkbox').getProperty('checked'));
$('upnp_checkbox').setProperty('disabled', isForceProxyEnabled);
$('dht_checkbox').setProperty('disabled', isForceProxyEnabled);
$('lsd_checkbox').setProperty('disabled', isForceProxyEnabled);
};

Loading…
Cancel
Save