Skip to content

Commit

Permalink
Fix bug I introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Sep 2, 2024
1 parent a5c1185 commit 19e08f7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/MooseIDE-NewTools/MiNavigationBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,16 @@ MiNavigationBrowser >> initializePresenters [
evaluated: self iconBlock;
yourself);
addColumn: (SpStringTableColumn new
title: 'Number of entities';
evaluated: [ :el | ((self entitiesForActivationOf: el)
ifNil: [ 0 ]
ifNotNil: [ :coll | coll size ]) asString ];
title: 'Size';
evaluated: [ :el |
((self entitiesForActivationOf: el)
ifNil: [ '-' ]
ifNotNil: [ :coll |
coll isCollection
ifTrue: [ coll size ]
ifFalse: [ '-' ] ]) asString ];
beSortable;
width: 60;
width: 60;
yourself);
addColumn: (SpStringTableColumn new
title: 'Entities';
Expand Down

0 comments on commit 19e08f7

Please sign in to comment.