Skip to content

Commit

Permalink
Pressing enter activates ok action in new branch dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisCnockaert committed Dec 2, 2024
1 parent f68d6a9 commit 115adb4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Iceberg-TipUI/IceTipCheckoutNewBranchPanel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ IceTipCheckoutNewBranchPanel >> initializePresenters [

self initializeCurrentBranchLabel.
branchLabel := self newLabel
label: 'New branch';
yourself.
label: 'New branch';
yourself.
branchInputText := self newTextInput
placeholder: 'e.g., feature/what';
yourself
placeholder: 'e.g., feature/what';
whenSubmitDo: [ :branchName | self accept ];
yourself
]

{ #category : 'testing' }
Expand Down

0 comments on commit 115adb4

Please sign in to comment.