QTfrontend/ui/page/pageoptions.cpp
changeset 7703 78d2ac987f41
parent 7702 c8906c3a2aeb
child 8098 4efee370e2de
--- a/QTfrontend/ui/page/pageoptions.cpp	Sat Sep 22 19:01:39 2012 +0400
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sat Sep 22 19:14:58 2012 +0400
@@ -627,7 +627,7 @@
 
 void PageOptions::onProxyTypeChanged()
 {
-    bool b = cbProxyType->currentIndex() > 1;
+    bool b = cbProxyType->currentIndex() != NoProxy && cbProxyType->currentIndex() != SystemProxy ;
 
     sbProxyPort->setEnabled(b);
     leProxy->setEnabled(b);