Skip to content

Commit

Permalink
Fix #68 and systemIcon depreciation when browsing component list
Browse files Browse the repository at this point in the history
  • Loading branch information
LabordePierre committed Jan 26, 2023
1 parent b7ecf0f commit f0c4864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Molecule-IDE/MolSpBrowseComponentClasses.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ MolSpBrowseComponentClasses >> initializePresenters [
table := self newTreeTable.
table addColumn: (SpCompositeTableColumn new
title: 'Double click on a class to browse it...';
addColumn: ((SpImageTableColumn evaluated: #systemIcon)
addColumn: ((SpImageTableColumn evaluated: [ :e | e iconNamed: e systemIconName])
width: 20;
yourself);
addColumn: (SpStringTableColumn evaluated: #name);
Expand Down
2 changes: 1 addition & 1 deletion Molecule-IDE/MolWorld.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ MolWorld class >> openDefineComponentDialog [
list := SystemNavigation default allClasses select: [ :c |
c isTrait not and: [
(c allSuperclasses includes: Object) and: [ c isComponentClass ] ] ].
searchClass := SearchFacade classSearchIn: list.
searchClass := MCSearchFacade classSearchIn: list.
searchClass title: 'Select the Molecule Component to define'.
retValue := searchClass openModal.
^ retValue answer
Expand Down

0 comments on commit f0c4864

Please sign in to comment.