mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 21:21:24 -07:00
Fixed a small bug in new DHT port setting code
This commit is contained in:
parent
ee6bc3c2e9
commit
2372f434cf
1 changed files with 1 additions and 1 deletions
|
@ -1123,7 +1123,7 @@ void options_imp::enableShareRatio(int checkBoxValue){
|
||||||
}
|
}
|
||||||
|
|
||||||
void options_imp::enableDHTPortSettings(int checkBoxValue) {
|
void options_imp::enableDHTPortSettings(int checkBoxValue) {
|
||||||
if(checkBoxValue != 2){
|
if(checkBoxValue == 2){
|
||||||
//Disable
|
//Disable
|
||||||
spinDHTPort->setEnabled(false);
|
spinDHTPort->setEnabled(false);
|
||||||
dh_port_lbl->setEnabled(false);
|
dh_port_lbl->setEnabled(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue