We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798d0ab commit f8c6829Copy full SHA for f8c6829
src/Commander2-UI/CmUICommand.class.st
@@ -41,6 +41,11 @@ CmUICommand >> beHiddenWhenCantBeRun [
41
self displayStrategy: CmUIHideWhenCantBeRun new
42
]
43
44
+{ #category : #accessing }
45
+CmUICommand >> defaultIconProvider [
46
+ ^ Smalltalk ui icons
47
+]
48
+
49
{ #category : #accessing }
50
CmUICommand >> displayStrategy [
51
^ displayStrategy
@@ -93,7 +98,7 @@ CmUICommand >> iconNamed: aSymbol [
93
98
94
99
95
100
CmUICommand >> iconProvider [
96
- ^ iconProvider ifNil: [ iconProvider := Smalltalk ui icons ]
101
+ ^ iconProvider ifNil: [ iconProvider := self defaultIconProvider ]
97
102
103
104
0 commit comments