Update PasswordLength property on password generation

This commit is contained in:
Geoffroy BONNEVILLE
2020-05-26 19:06:59 +02:00
parent 0c70b5146f
commit 4000d51f70
3 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,11 @@ namespace ModernKeePass.ViewModels
public double PasswordLength
{
get { return _settings.GetSetting(Constants.Settings.PasswordGenerationOptions.PasswordLength, 25); }
set { _settings.PutSetting(Constants.Settings.PasswordGenerationOptions.PasswordLength, value); }
set
{
_settings.PutSetting(Constants.Settings.PasswordGenerationOptions.PasswordLength, value);
RaisePropertyChanged(() => PasswordLength);
}
}
public bool UpperCasePatternSelected
{