Minor changes

This commit is contained in:
bg45
2017-10-11 15:10:28 -04:00
committed by BONNEVILLE Geoffroy
parent 2f1355104e
commit f1737ca9f7
3 changed files with 10 additions and 4 deletions

View File

@@ -40,10 +40,10 @@ namespace ModernKeePass.Common
{
key.AddUserKey(new KcpPassword(password));
var ioConnection = IOConnectionInfo.FromFile(DatabaseFile);
if (createNew)
/*if (createNew)
{
_pwDatabase.New(ioConnection, key);
}
_pwDatabase.Save(new NullStatusLogger());
}*/
_pwDatabase.Open(ioConnection, key, new NullStatusLogger());
if (_pwDatabase.IsOpen)