mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-28 21:06:59 -08:00
Corrected database corruption when locked [#1113]
This commit is contained in:
1 parent
7ef61b47e3
commit
e17b3d24bf
2 files changed
+10
-8
No files matched your search
@@ -1125,7 +1125,7 @@ void DatabaseWidget::onWatchedFileChanged()
|
||||
|
||||
void DatabaseWidget::reloadDatabaseFile()
|
||||
{
|
||||
if (m_db == nullptr)
|
||||
if (m_db == nullptr || currentMode() == DatabaseWidget::LockedMode)
|
||||
return;
|
||||
|
||||
if (! config()->get("AutoReloadOnChange").toBool()) {
|
||||
|
||||
Reference in new issue
Block a user