Skip to content

Commit

Permalink
Merge pull request #1534 from pharo-spec/dev-3.0
Browse files Browse the repository at this point in the history
fixes #1530
  • Loading branch information
estebanlm authored Apr 8, 2024
2 parents 984a6bd + a2e0760 commit d99042b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Spec2-Dialogs/SpSelectDialog.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ SpSelectDialog >> items [
SpSelectDialog >> items: aCollection [

list items: aCollection.
aCollection size > 1
ifTrue: [ list selectItem: aCollection first ]
aCollection ifNotEmpty: [
list selectItem: aCollection first ]
]

{ #category : 'api' }
Expand All @@ -185,6 +185,12 @@ SpSelectDialog >> openModal [
ifFalse: [ nil ]
]

{ #category : 'api' }
SpSelectDialog >> selectFirst [

list selectFirst
]

{ #category : 'api' }
SpSelectDialog >> selectIndex: aNumber [

Expand Down

0 comments on commit d99042b

Please sign in to comment.