mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Navigate to URL correctly shows the error, should it happen
Entry title linked to history version Title text boxes selection now uses the main color
This commit is contained in:
@@ -63,17 +63,16 @@ namespace ModernKeePass.Views
|
||||
private void HamburgerMenuUserControl_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
var listView = sender as ListView;
|
||||
EntryVm entry;
|
||||
switch (listView?.SelectedIndex)
|
||||
{
|
||||
case -1:
|
||||
return;
|
||||
default:
|
||||
entry = listView?.SelectedItem as EntryVm;
|
||||
var entry = listView?.SelectedItem as EntryVm;
|
||||
StackPanel.DataContext = entry;
|
||||
TitleTextBox.DataContext = entry;
|
||||
break;
|
||||
}
|
||||
|
||||
StackPanel.DataContext = entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user