mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Recent items list auto removes non existing files
Choosing a recent list item does not change the database file anymore
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using System;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
using ModernKeePass.Events;
|
||||
using ModernKeePass.ViewModels;
|
||||
|
||||
// Pour en savoir plus sur le modèle d'élément Page vierge, consultez la page http://go.microsoft.com/fwlink/?LinkId=234238
|
||||
|
||||
@@ -28,5 +31,13 @@ namespace ModernKeePass.Pages
|
||||
{
|
||||
_mainFrame.Navigate(typeof(GroupDetailPage), e.RootGroup);
|
||||
}
|
||||
|
||||
private void OpenDatabaseUserControl_OnValidationChecking(object sender, EventArgs e)
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
var viewModel = DataContext as RecentVm;
|
||||
var app = (App)Application.Current;
|
||||
app.Database.DatabaseFile = viewModel.SelectedItem.DatabaseFile;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user