Skip to content

Commit 420d8ea

Browse files
committed
fix passwordBox issue
1 parent 36bb439 commit 420d8ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,11 @@ public Control CreateSettingPanel()
425425
Password = Settings[attribute.Name] as string ?? string.Empty,
426426
PasswordChar = attribute.passwordChar == default ? '*' : attribute.passwordChar
427427
};
428+
passwordBox.PasswordChanged += (sender, _) =>
429+
{
430+
Settings[attribute.Name] = ((PasswordBox)sender).Password;
431+
};
432+
contentControl = passwordBox;
428433
break;
429434
}
430435
case "dropdown":

0 commit comments

Comments
 (0)