From 3b905a354f8bf9967f6f9143c2015d525f4adf27 Mon Sep 17 00:00:00 2001 From: Philipp Crocoll Date: Tue, 6 Aug 2013 20:46:09 +0200 Subject: [PATCH] App locks the database before trying to reload. --- src/keepass2android/app/App.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/keepass2android/app/App.cs b/src/keepass2android/app/App.cs index 7d38895b..5ff2cc95 100644 --- a/src/keepass2android/app/App.cs +++ b/src/keepass2android/app/App.cs @@ -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();