From 2372f434cf1fd92452f2f30794cf01b0e46061a9 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 14 Jul 2009 08:06:55 +0000 Subject: [PATCH] Fixed a small bug in new DHT port setting code --- src/options_imp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options_imp.cpp b/src/options_imp.cpp index ab5f3c888..388a1262a 100644 --- a/src/options_imp.cpp +++ b/src/options_imp.cpp @@ -1123,7 +1123,7 @@ void options_imp::enableShareRatio(int checkBoxValue){ } void options_imp::enableDHTPortSettings(int checkBoxValue) { -if(checkBoxValue != 2){ +if(checkBoxValue == 2){ //Disable spinDHTPort->setEnabled(false); dh_port_lbl->setEnabled(false);