mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Accepted->Accepting
This commit is contained in:
@@ -19,13 +19,13 @@ internal partial class LoginView : IRecipient<Message<LoginActions>>
|
||||
{
|
||||
ViewModel.Password = passwordInput.Text;
|
||||
};
|
||||
loginButton.Accepted += (_, _) =>
|
||||
loginButton.Accepting += (_, _) =>
|
||||
{
|
||||
if (!ViewModel.CanLogin) { return; }
|
||||
ViewModel.LoginCommand.Execute (null);
|
||||
};
|
||||
|
||||
clearButton.Accepted += (_, _) =>
|
||||
clearButton.Accepting += (_, _) =>
|
||||
{
|
||||
ViewModel.ClearCommand.Execute (null);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user