mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
code_review: PR #644
- use `AutoFocusBehaviour.IsEnable` instead of toggle focus by code in `OnOpened ` Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
794163fe1c
commit
58fbb16347
2 changed files with 3 additions and 9 deletions
|
@ -52,11 +52,5 @@ namespace SourceGit.Views
|
|||
Console.Out.Write($"{Passphrase}\n");
|
||||
App.Quit(0);
|
||||
}
|
||||
|
||||
protected override void OnOpened(EventArgs e)
|
||||
{
|
||||
PassphraseTextBox.Focus();
|
||||
base.OnOpened(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue