spec-framework / spec

The code of Spec for Pharo
MIT License
16 stars 6 forks source link

ListModel should use the new menus #18

Closed Uko closed 10 years ago

Uko commented 10 years ago

When I try to add a menu to ListModel like:

list menu: [ :menu | menu addGroup: [ :aGroup |
  aGroup addItem: [ :item |
    item
      name: 'Inspect' translated;
      action: [ self inspectSelectedObjectInNewWindow ] ] ] ]

I get: MenuMorph(Object)>>doesNotUnderstand: #addGroup:

BenjaminVanRyseghem commented 10 years ago

Fixed and in master :)