Skip to content

Commit

Permalink
Fixing the super to correctly use self and the classification of the …
Browse files Browse the repository at this point in the history
…method.
  • Loading branch information
tesonep committed Jul 30, 2020
1 parent a7a9adc commit dba4198
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -95,7 +95,7 @@ CmdOpenContextMenuCommand >> registerContextMenuItemsFor: aCommandItem withBuild
RecursionStopper during: [
submenu := self activationStrategy buildMenuInContext: context.
submenu isActive ifTrue: [
super doRegisterContextMenuItemsFor: aCommandItem withBuilder: aBuilder.
self doRegisterContextMenuItemsFor: aCommandItem withBuilder: aBuilder.
"Registration builder uses #name to bind children to parent"
submenu rootGroup name: aCommandItem name.
submenu registerContextMenuItemsWithBuilder: aBuilder]
Expand Down
Expand Up @@ -42,7 +42,7 @@ SycOpenSourceCodeMenuCommand >> execute [
super execute
]

{ #category : #execution }
{ #category : #'context menu' }
SycOpenSourceCodeMenuCommand >> registerContextMenuItemsFor: aCommandItem withBuilder: aBuilder [
"Here we need to take care because this command itself is added to menu of same context.
So we will always enter into this method during submenu generation.
Expand Down

0 comments on commit dba4198

Please sign in to comment.