mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-24 08:43:29 -05:00
Correct behaviors when saving database fails
* Mark database dirty if saving fails * Restore database file from backup if unsafe save fails between deleting database file and copying temporary file into place * Improve error message display for opening and saving database files * Do not automatically retry saving after failure. This prevents deletion of the backup database file and improves user awareness of issues.
This commit is contained in:
parent
ec82931573
commit
3b0b5d85e9
7 changed files with 50 additions and 12 deletions
|
|
@ -33,6 +33,7 @@ public:
|
|||
int autoHideTimeout() const;
|
||||
|
||||
static const int DefaultAutoHideTimeout;
|
||||
static const int LongAutoHideTimeout;
|
||||
static const int DisableAutoHide;
|
||||
|
||||
signals:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue