mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 14:32:39 -04:00
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
This commit is contained in:
parent
d66299260c
commit
c74664097b
7 changed files with 48 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue