Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2020-08-02 01:00:47 +0300
committerJonathan White <support@dmapps.us>2020-08-08 22:40:00 +0300
commitc538f0b907aaae5b8033b9bd370e7d9ea58488de (patch)
treeacf7c329ee25c1adfee1d56c4cacd1e75f57372f /src/gui/DatabaseWidget.h
parentfd7daf4c896ab59dd4c65c82a6b29920378b8a31 (diff)
Fixup saving non-data changes on database lock
* Fix #5107 * Change setting for non-data changes to Auto save on database lock (or not) instead of marking modified. * When enabled, database will be auto-saved if there are only non-data changes, but will not prompt the user if saving has failed. * When disabled, database will not auto-save if there are only non-data changes (same behavior as 2.5 and below) and will not mark the database dirty.
Diffstat (limited to 'src/gui/DatabaseWidget.h')
-rw-r--r--src/gui/DatabaseWidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.h b/src/gui/DatabaseWidget.h
index 2564977dc..ae660bf88 100644
--- a/src/gui/DatabaseWidget.h
+++ b/src/gui/DatabaseWidget.h
@@ -260,6 +260,7 @@ private:
void openDatabaseFromEntry(const Entry* entry, bool inBackground = true);
bool confirmDeleteEntries(QList<Entry*> entries, bool permanent);
void performIconDownloads(const QList<Entry*>& entries, bool force = false);
+ bool performSave(QString& errorMessage, const QString& fileName = {});
Entry* currentSelectedEntry();
QSharedPointer<Database> m_db;