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>2019-01-25 15:20:39 +0300
committerGitHub <noreply@github.com>2019-01-25 15:20:39 +0300
commitc74664097b010b1c463011ec6ea07fd5c392a178 (patch)
treee8c08ae8b79025dfcaed3747d357644898907c65 /src/gui/DatabaseWidget.h
parentd66299260c9cb63b89c5b0513cae505d6789c3ac (diff)
Fix crash when canceling save of new database (#2601)
* Fix crash when canceling save of new database * Standardize use of DatabaseWidget::save() function * Close new database tabs that are "discarded" * Fixes #2604. autoSaveOnExit setting * Re-implement autosave functionality
Diffstat (limited to 'src/gui/DatabaseWidget.h')
-rw-r--r--src/gui/DatabaseWidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.h b/src/gui/DatabaseWidget.h
index 712976105..1eadc9aa3 100644
--- a/src/gui/DatabaseWidget.h
+++ b/src/gui/DatabaseWidget.h
@@ -209,6 +209,7 @@ private slots:
void emitEntryContextMenuRequested(const QPoint& pos);
void onEntryChanged(Entry* entry);
void onGroupChanged(Group* group);
+ void onDatabaseModified();
void connectDatabaseSignals();
void loadDatabase(bool accepted);
void unlockDatabase(bool accepted);
@@ -257,6 +258,7 @@ private:
// Autoreload
QPointer<DelayingFileWatcher> m_fileWatcher;
+ bool m_blockAutoSave;
};
#endif // KEEPASSX_DATABASEWIDGET_H