mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Fix DHT port setting in Web UI (Closes #952182)
(cherry picked from commit c32e651c39
)
This commit is contained in:
parent
8ea2312b4f
commit
96fd1624ce
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ applyPreferences = function() {
|
||||||
}
|
}
|
||||||
// Bittorrent
|
// Bittorrent
|
||||||
settings.set('dht', $('dht_checkbox').getProperty('checked'));
|
settings.set('dht', $('dht_checkbox').getProperty('checked'));
|
||||||
settings.set('dhtSameAsBT', $('DHTPortDiffThanBT_checkbox').getProperty('checked'));
|
settings.set('dhtSameAsBT', !$('DHTPortDiffThanBT_checkbox').getProperty('checked'));
|
||||||
settings.set('dht_port', $('DHTPort_txt').getProperty('value').toInt());
|
settings.set('dht_port', $('DHTPort_txt').getProperty('value').toInt());
|
||||||
settings.set('pex', $('pex_checkbox').getProperty('checked'));
|
settings.set('pex', $('pex_checkbox').getProperty('checked'));
|
||||||
settings.set('lsd', $('lsd_checkbox').getProperty('checked'));
|
settings.set('lsd', $('lsd_checkbox').getProperty('checked'));
|
||||||
|
|
Loading…
Reference in a new issue