mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Entry delete button now shows up correctly
Minor code refactoring
This commit is contained in:
@@ -519,7 +519,7 @@
|
|||||||
<userControls:TopMenuUserControl
|
<userControls:TopMenuUserControl
|
||||||
x:Name="TopMenu" Grid.Column="2"
|
x:Name="TopMenu" Grid.Column="2"
|
||||||
RestoreButtonVisibility="{Binding ParentGroup.IsSelected, Converter={StaticResource BooleanToVisibilityConverter}}"
|
RestoreButtonVisibility="{Binding ParentGroup.IsSelected, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||||
DeleteButtonVisibility="{Binding IsSelected, Converter={StaticResource InverseBooleanToVisibilityConverter}}"
|
DeleteButtonVisibility="{Binding IsSelected, Converter={StaticResource BooleanToVisibilityConverter}}"
|
||||||
IsEditButtonChecked="{Binding IsEditMode, Mode=TwoWay}"
|
IsEditButtonChecked="{Binding IsEditMode, Mode=TwoWay}"
|
||||||
IsRestoreButtonEnabled="{Binding PreviousGroup, Converter={StaticResource NullToBooleanConverter}}"
|
IsRestoreButtonEnabled="{Binding PreviousGroup, Converter={StaticResource NullToBooleanConverter}}"
|
||||||
SaveCommand="{Binding SaveCommand}"
|
SaveCommand="{Binding SaveCommand}"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
using System.Windows.Input;
|
using System;
|
||||||
|
using System.Windows.Input;
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
|
|
||||||
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
|
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
|
||||||
@@ -175,12 +176,9 @@ namespace ModernKeePass.Views.UserControls
|
|||||||
typeof(TopMenuUserControl),
|
typeof(TopMenuUserControl),
|
||||||
new PropertyMetadata(false, (o, args) => { }));
|
new PropertyMetadata(false, (o, args) => { }));
|
||||||
|
|
||||||
public event EditButtonClickEventHandler EditButtonClick;
|
public event EventHandler<RoutedEventArgs> EditButtonClick;
|
||||||
public delegate void EditButtonClickEventHandler(object sender, RoutedEventArgs e);
|
public event EventHandler<RoutedEventArgs> DeleteButtonClick;
|
||||||
public event DeleteButtonClickEventHandler DeleteButtonClick;
|
public event EventHandler<RoutedEventArgs> RestoreButtonClick;
|
||||||
public delegate void DeleteButtonClickEventHandler(object sender, RoutedEventArgs e);
|
|
||||||
public event RestoreButtonClickEventHandler RestoreButtonClick;
|
|
||||||
public delegate void RestoreButtonClickEventHandler(object sender, RoutedEventArgs e);
|
|
||||||
|
|
||||||
public TopMenuUserControl()
|
public TopMenuUserControl()
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Improved search box
|
Improved search box
|
||||||
Changing entry icon creates a new history entry
|
Changing entry icon creates a new history entry
|
||||||
Changing Windows accent color while application is still running changes main color
|
|
||||||
Corrected startup crash on some versions of Windows
|
Corrected startup crash on some versions of Windows
|
||||||
|
Entry delete button now shows up correctly
|
@@ -1,4 +1,4 @@
|
|||||||
Amelioration de la recherche
|
Amelioration de la recherche
|
||||||
Changer l'icone d'une entree cree un historique
|
Changer l'icone d'une entree cree un historique
|
||||||
Changer la couleur de d'accentuation de Windows pendant que l'app tourne change la couleur de celle-ci
|
|
||||||
Correction de crash lors du lancement avec certaines versions de Windows
|
Correction de crash lors du lancement avec certaines versions de Windows
|
||||||
|
Le bouton de suppression d'une entree apparait bien desormais
|
Reference in New Issue
Block a user