url and port only editable if not direct or automatic

master
Marc Wäckerlin 16 years ago
parent ecfced822e
commit db91ab65fe
  1. 5
      proxyface/gui/proxy.hxx

@ -97,6 +97,11 @@ class Proxy: public QDialog, public Ui::Proxy {
.arg(QNetworkProxy::applicationProxy().port()));
}
void on__type_currentIndexChanged(int index) {
_url->setEnabled(index!=0);
_port->setEnabled(index!=0);
}
void on__save_clicked(bool=false) {
QSettings s("SwissSign", "ProxySettings");
s.setValue("default-type", _type->currentIndex());

Loading…
Cancel
Save