Skip to content

Commit 1c9c499

Browse files
committed
(split from main repo) Miscellaneous tidying
- Formatting - Typos - Rename file to match type name - Annotations - Document exception
1 parent a913768 commit 1c9c499

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

FormGitReview.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ public sealed partial class FormGitReview : GitExtensionsForm, IGitUICommandsSou
3131

3232
public event EventHandler<GitUICommandsChangedEventArgs> UICommandsChanged;
3333

34-
private void OnGitUICommandsChanged(GitUICommands oldcommands)
35-
{
36-
UICommandsChanged?.Invoke(this, new GitUICommandsChangedEventArgs(oldcommands));
37-
}
38-
3934
private GitUICommands _uiCommands;
4035
public GitUICommands UICommands
4136
{
@@ -44,7 +39,7 @@ public GitUICommands UICommands
4439
{
4540
var oldCommands = _uiCommands;
4641
_uiCommands = value;
47-
OnGitUICommandsChanged(oldCommands);
42+
UICommandsChanged?.Invoke(this, new GitUICommandsChangedEventArgs(oldCommands));
4843
}
4944
}
5045

0 commit comments

Comments
 (0)