mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 05:35:00 +00:00
code_style: remove all IDE warnings
This commit is contained in:
parent
9ac550242e
commit
a807aa9e12
94 changed files with 785 additions and 807 deletions
|
@ -117,7 +117,7 @@ namespace SourceGit.Views
|
|||
}
|
||||
}
|
||||
|
||||
private async void OnSubjectTextBoxPreviewKeyDown(object sender, KeyEventArgs e)
|
||||
private async void OnSubjectTextBoxPreviewKeyDown(object _, KeyEventArgs e)
|
||||
{
|
||||
if (e.Key == Key.Enter || (e.Key == Key.Right && SubjectEditor.CaretIndex == Subject.Length))
|
||||
{
|
||||
|
@ -157,7 +157,7 @@ namespace SourceGit.Views
|
|||
}
|
||||
}
|
||||
|
||||
private void OnDescriptionTextBoxPreviewKeyDown(object sender, KeyEventArgs e)
|
||||
private void OnDescriptionTextBoxPreviewKeyDown(object _, KeyEventArgs e)
|
||||
{
|
||||
if ((e.Key == Key.Back || e.Key == Key.Left) && DescriptionEditor.CaretIndex == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue