mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 06:17:58 +00:00
Fixed a small bug in new DHT port setting code
This commit is contained in:
parent
ee6bc3c2e9
commit
2372f434cf
@ -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…
Reference in New Issue
Block a user