Skip to content

Commit

Permalink
squeak: Restore compatibility for UIManager accessor again
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover authored and fniephaus committed May 25, 2022
1 parent 742fce9 commit 36f2600
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
helpers
chooseOptionFrom: aList title: aString

^ (Project uiManager respondsTo: #chooseOptionFrom:title:)
ifFalse: ["< ToolBuilder-Kernel-tpr.157" Project uiManager chooseFrom: aList title: aString]
ifTrue: [Project uiManager chooseOptionFrom: aList title: aString]
^ (UIManager default respondsTo: #chooseOptionFrom:title:)
ifFalse: ["< ToolBuilder-Kernel-tpr.157" UIManager default chooseFrom: aList title: aString]
ifTrue: [UIManager default chooseOptionFrom: aList title: aString]

0 comments on commit 36f2600

Please sign in to comment.