mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 23:37:59 +00:00
Fix DHT port setting in Web UI (Closes #952182)
This commit is contained in:
parent
fefc7df910
commit
c32e651c39
@ -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 New Issue
Block a user