Skip to content

Commit

Permalink
Merge pull request #1869 from AlexisCnockaert/1867-New-branch-dialogP…
Browse files Browse the repository at this point in the history
…ressing-enter-should-activate-the-ok-action

Pressing enter activates ok action in new branch dialog
  • Loading branch information
jecisc authored Dec 4, 2024
2 parents f68d6a9 + 115adb4 commit 5a9cca5
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 5a9cca5

Please sign in to comment.