mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 16:30:29 -05: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
@ -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…
Reference in New Issue
Block a user