Skip to content

Commit

Permalink
Fix a copy'n'paste slip for context submenus
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Feb 23, 2021
1 parent 777fc4c commit bd3ea35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ menus
addToMenu: menu coloredItem: label action: action

| item |
item := menu add: label subMenu: action.
item := menu add: label action: action.

(item isKindOf: RadialMenuItemMorph) ifTrue: [
(self colorForLabel: label) ifNotNil: [:labelColor |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
},
"instance" : {
"addToMenu:coloredItem:action:" : "ct 2/23/2021 10:28",
"addToMenu:coloredItem:action:" : "ct 2/23/2021 10:43",
"addToMenu:coloredItem:subMenu:" : "ct 2/23/2021 10:28",
"buildDiscreteMenu:" : "ct 2/23/2021 10:29",
"buildDiscreteMenu:attribute:" : "Kiwi 2/9/2021 14:17",
Expand Down

0 comments on commit bd3ea35

Please sign in to comment.