mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix passwordBox issue
This commit is contained in:
parent
36bb439647
commit
420d8ea005
1 changed files with 5 additions and 0 deletions
|
|
@ -425,6 +425,11 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
Password = Settings[attribute.Name] as string ?? string.Empty,
|
Password = Settings[attribute.Name] as string ?? string.Empty,
|
||||||
PasswordChar = attribute.passwordChar == default ? '*' : attribute.passwordChar
|
PasswordChar = attribute.passwordChar == default ? '*' : attribute.passwordChar
|
||||||
};
|
};
|
||||||
|
passwordBox.PasswordChanged += (sender, _) =>
|
||||||
|
{
|
||||||
|
Settings[attribute.Name] = ((PasswordBox)sender).Password;
|
||||||
|
};
|
||||||
|
contentControl = passwordBox;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "dropdown":
|
case "dropdown":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue