mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Pressing "reset" button results in a call to KProxyDialog::load(): make
sure showEnvValueCheckBox is unchecked before setting proxy environment variables in the ui. It could have been previously checked by user.
This commit is contained in:
parent
cd67f0651b
commit
5d72d41c94
1 changed files with 3 additions and 0 deletions
|
@ -296,6 +296,9 @@ void KProxyDialog::load()
|
|||
|
||||
const int proxyType = KProtocolManager::proxyType();
|
||||
|
||||
// Make sure showEnvValueCheckBox is unchecked before setting proxy env var names
|
||||
mUi.showEnvValueCheckBox->setChecked(false);
|
||||
|
||||
setProxyInformation(mProxyMap.value(QL1S("HttpProxy")), proxyType, mUi.manualProxyHttpEdit, mUi.systemProxyHttpEdit, mUi.manualProxyHttpSpinBox, HideHttpUrlScheme);
|
||||
setProxyInformation(mProxyMap.value(QL1S("HttpsProxy")), proxyType, mUi.manualProxyHttpsEdit, mUi.systemProxyHttpsEdit, mUi.manualProxyHttpsSpinBox, HideHttpsUrlScheme);
|
||||
setProxyInformation(mProxyMap.value(QL1S("FtpProxy")), proxyType, mUi.manualProxyFtpEdit, mUi.systemProxyFtpEdit, mUi.manualProxyFtpSpinBox, HideFtpUrlScheme);
|
||||
|
|
Loading…
Reference in a new issue