public void CheckForOpenFileChanged(Activity activity)
 {
     if (_db.DidOpenFileChange())
     {
         if (_db.ReloadRequested)
         {
             LockDatabase(false);
             activity.SetResult(KeePass.ExitReloadDb);
             activity.Finish();
             //todo: return?
         }
         AskForReload(activity);
     }
 }
示例#2
0
 public void CheckForOpenFileChanged(Activity activity)
 {
     if (CurrentDb?.DidOpenFileChange() == true)
     {
         if (CurrentDb.ReloadRequested)
         {
             activity.SetResult(KeePass.ExitReloadDb);
             activity.Finish();
         }
         else
         {
             AskForReload(activity);
         }
     }
 }