diff --git a/proxyface/proxy.hxx b/proxyface/proxy.hxx index 14f9210..050552c 100644 --- a/proxyface/proxy.hxx +++ b/proxyface/proxy.hxx @@ -65,7 +65,10 @@ namespace gui { case 0: try { _url->setEnabled(false); _port->setEnabled(false); + _url->setText(""); + _port->setValue(0); type=QNetworkProxy::NoProxy; + QNetworkProxy::setApplicationProxy(QNetworkProxy(type)); _auto.proxy(_testUrl); } catch (...) {} break; case 1: {