mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Correct two bugs related to key file opening
Bettter error messages with composite key Show an error message if save has failed and don't close the database
This commit is contained in:
@@ -8,9 +8,7 @@ namespace ModernKeePass.ViewModels
|
||||
public void Save(bool close = true)
|
||||
{
|
||||
var app = (App)Application.Current;
|
||||
app.Database.Save();
|
||||
if (!close) return;
|
||||
app.Database.Close();
|
||||
if (close && app.Database.Save()) app.Database.Close();
|
||||
}
|
||||
|
||||
internal void Save(StorageFile file)
|
||||
|
Reference in New Issue
Block a user