mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-31 18:48:48 -04:00
Merge pull request #1355 from yan12125/browser-improve-proxy-path-handling
Improve proxy path handling for the browser plugin
This commit is contained in:
commit
5fe18400c5
1 changed files with 4 additions and 1 deletions
|
@ -156,7 +156,10 @@ void BrowserSettings::setUseCustomProxy(bool enabled)
|
|||
|
||||
QString BrowserSettings::customProxyLocation()
|
||||
{
|
||||
return config()->get("Browser/CustomProxyLocation", " ").toString();
|
||||
if (!useCustomProxy()) {
|
||||
return QString();
|
||||
}
|
||||
return config()->get("Browser/CustomProxyLocation", "").toString();
|
||||
}
|
||||
|
||||
void BrowserSettings::setCustomProxyLocation(QString location)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue