Skip to content

Commit

Permalink
fixes #1530
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Apr 5, 2024
1 parent 714aff1 commit a2e0760
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 a2e0760

Please sign in to comment.