From d83b9c024647aad4dcad82b7039b5e312e750529 Mon Sep 17 00:00:00 2001 From: Petr Bena Date: Fri, 27 Mar 2020 22:03:27 +0100 Subject: [PATCH] always remember proxy settings --- src/huggle_ui/proxy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/huggle_ui/proxy.cpp b/src/huggle_ui/proxy.cpp index 43d120f27..8e70da828 100644 --- a/src/huggle_ui/proxy.cpp +++ b/src/huggle_ui/proxy.cpp @@ -60,9 +60,10 @@ Proxy::Proxy(QWidget *parent) : HW("proxy", this, parent), ui(new Ui::Proxy) this->ui->comboBox->addItem("Ftp"); this->ui->l_Restart->setText(_l("proxy-restart")); this->ui->comboBox->setCurrentIndex(hcfg->SystemConfig_ProxyType); + // Right now it seems proxy needs restart so this option doesn't really make much sense on any other value than true + this->ui->checkBox->setChecked(true); if (hcfg->SystemConfig_UseProxy) { - this->ui->checkBox->setChecked(true); this->ui->lineEdit->setText(hcfg->SystemConfig_ProxyHost); this->ui->lineEdit_2->setText(QString::number(hcfg->SystemConfig_ProxyPort)); this->ui->lineEdit_3->setText(hcfg->SystemConfig_ProxyUser);