mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix DHT port setting in Web UI (Closes #952182)
This commit is contained in:
parent
fefc7df910
commit
c32e651c39
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…
Add table
Add a link
Reference in a new issue