mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-28 23:37:21 -05:00
Hide config errors by default.
This commit is contained in:
parent
15a288aa5b
commit
da85252347
@ -62,6 +62,7 @@ SettingsWidget::SettingsWidget(QWidget* parent)
|
|||||||
addPage(tr("General"), FilePath::instance()->icon("categories", "preferences-other"), m_generalWidget);
|
addPage(tr("General"), FilePath::instance()->icon("categories", "preferences-other"), m_generalWidget);
|
||||||
addPage(tr("Security"), FilePath::instance()->icon("status", "security-high"), m_secWidget);
|
addPage(tr("Security"), FilePath::instance()->icon("status", "security-high"), m_secWidget);
|
||||||
|
|
||||||
|
m_generalUi->messageWidget->setVisible(false);
|
||||||
if (config()->hasAccessError()) {
|
if (config()->hasAccessError()) {
|
||||||
m_generalUi->messageWidget->showMessage(
|
m_generalUi->messageWidget->showMessage(
|
||||||
tr("Access error with config file ") + config()->getFileName(), MessageWidget::Error);
|
tr("Access error with config file ") + config()->getFileName(), MessageWidget::Error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user