Added DataTrigger on generate password button to close flyout

This commit is contained in:
2017-10-19 17:23:56 +02:00
committed by BONNEVILLE Geoffroy
parent 54ad395d13
commit 6548d1d9c1
4 changed files with 44 additions and 19 deletions

View File

@@ -7,7 +7,6 @@ using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using ModernKeePass.Common;
using ModernKeePass.ViewModels;
using ModernKeePassLib.Cryptography.PasswordGenerator;
// Pour en savoir plus sur le modèle d'élément Page Détail de l'élément, consultez la page http://go.microsoft.com/fwlink/?LinkId=234232
@@ -118,8 +117,6 @@ namespace ModernKeePass.Pages
private void PasswordGenerationButton_Click(object sender, RoutedEventArgs e)
{
Model.GeneratePassword();
/*var button = (Button)sender;
button?.Flyout?.Hide();*/
}
}
}