App locks the database before trying to reload.

This commit is contained in:
Philipp Crocoll 2013-08-06 20:46:09 +02:00
parent bf0897e7ec
commit 3b905a354f

View File

@ -197,6 +197,7 @@ namespace keepass2android
{
if (_db.ReloadRequested)
{
LockDatabase(false);
activity.SetResult(KeePass.ExitReloadDb);
activity.Finish();
}
@ -209,6 +210,7 @@ namespace keepass2android
(dlgSender, dlgEvt) =>
{
_db.ReloadRequested = true;
LockDatabase(false);
activity.SetResult(KeePass.ExitReloadDb);
activity.Finish();