mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Root group up button disabled
Going back to home when opening a file from explorer no longer displays open file Inverted Breadcrumb order to avoid reordering items Update release notes Code cleanup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Windows.UI.Xaml;
|
||||
using System.Linq;
|
||||
using Windows.UI.Xaml;
|
||||
using ModernKeePass.Application.Group.Models;
|
||||
using ModernKeePass.ViewModels;
|
||||
|
||||
@@ -22,7 +23,9 @@ namespace ModernKeePass.Views.UserControls
|
||||
{
|
||||
var userControl = o as BreadcrumbUserControl;
|
||||
var vm = userControl?.StackPanel.DataContext as BreadcrumbControlVm;
|
||||
if (vm != null) await vm.Initialize(args.NewValue as GroupVm).ConfigureAwait(false);
|
||||
if (vm == null) return;
|
||||
await vm.Initialize(args.NewValue as GroupVm).ConfigureAwait(false);
|
||||
userControl?.ListView.ScrollIntoView(vm.BreadcrumbItems.Last());
|
||||
}));
|
||||
|
||||
public BreadcrumbUserControl()
|
||||
|
Reference in New Issue
Block a user