mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -05:00
Fix advanced HTTP settings (close #34)
This commit is contained in:
parent
2e9b42688f
commit
8f3ffdcc2a
@ -23,10 +23,6 @@
|
||||
#include "core/Config.h"
|
||||
#include "core/Translator.h"
|
||||
|
||||
#include "http/OptionDialog.h"
|
||||
|
||||
#include "http/HttpSettings.h"
|
||||
|
||||
class SettingsWidget::ExtraPage
|
||||
{
|
||||
public:
|
||||
|
@ -103,7 +103,7 @@ bool HttpSettings::alwaysAllowUpdate()
|
||||
|
||||
void HttpSettings::setAlwaysAllowUpdate(bool alwaysAllowUpdate)
|
||||
{
|
||||
config()->set("Http/AlwaysAllowAccess", alwaysAllowUpdate);
|
||||
config()->set("Http/AlwaysAllowUpdate", alwaysAllowUpdate);
|
||||
}
|
||||
|
||||
bool HttpSettings::searchInAllDatabases()
|
||||
|
@ -57,6 +57,7 @@ void OptionDialog::loadSettings()
|
||||
ui->alwaysAllowAccess->setChecked(settings.alwaysAllowAccess());
|
||||
ui->alwaysAllowUpdate->setChecked(settings.alwaysAllowUpdate());
|
||||
ui->searchInAllDatabases->setChecked(settings.searchInAllDatabases());
|
||||
ui->supportKphFields->setChecked(settings.supportKphFields());
|
||||
}
|
||||
|
||||
void OptionDialog::saveSettings()
|
||||
@ -85,4 +86,5 @@ void OptionDialog::saveSettings()
|
||||
settings.setAlwaysAllowAccess(ui->alwaysAllowAccess->isChecked());
|
||||
settings.setAlwaysAllowUpdate(ui->alwaysAllowUpdate->isChecked());
|
||||
settings.setSearchInAllDatabases(ui->searchInAllDatabases->isChecked());
|
||||
settings.setSupportKphFields(ui->supportKphFields->isChecked());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user