QTfrontend/ui/page/pageoptions.cpp
changeset 7702 c8906c3a2aeb
parent 7701 2b9017ffc72f
child 7703 78d2ac987f41
--- a/QTfrontend/ui/page/pageoptions.cpp	Fri Sep 21 23:33:34 2012 +0400
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sat Sep 22 19:01:39 2012 +0400
@@ -466,6 +466,7 @@
             cbProxyType = new QComboBox(gbProxy);
             cbProxyType->addItems(QStringList()
                                   << tr("No proxy")
+                                  << tr("System proxy settings")
                                   << tr("Socks5 proxy")
                                   << tr("HTTP proxy"));
             gbLayout->addWidget(cbProxyType, 0, 1);
@@ -626,7 +627,7 @@
 
 void PageOptions::onProxyTypeChanged()
 {
-    bool b = cbProxyType->currentIndex() > 0;
+    bool b = cbProxyType->currentIndex() > 1;
 
     sbProxyPort->setEnabled(b);
     leProxy->setEnabled(b);