Skip to content

Commit

Permalink
Merge pull request #4424 from mP1/feature/SpreadsheetTextBox-enterFir…
Browse files Browse the repository at this point in the history
…esValueChange-refactor

SpreadsheetTextBox.enterFiresValueChange refactor
  • Loading branch information
mP1 authored Jan 15, 2025
2 parents bc715d4 + 0c0b0b2 commit 1b2cb34
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ public SpreadsheetTextBox focus() {
}

public SpreadsheetTextBox enterFiresValueChange() {
final TextBox textBox = this.textBox;

textBox.addEventListener(
EventType.keydown.getName(),
return this.addKeydownListener(
(final Event event) -> {
final KeyboardEvent keyboardEvent = Js.cast(event);
switch (Key.fromEvent(keyboardEvent)) {
Expand All @@ -152,7 +149,6 @@ public SpreadsheetTextBox enterFiresValueChange() {
}
}
);
return this;
}

public SpreadsheetTextBox magnifyingGlassIcon() {
Expand Down

0 comments on commit 1b2cb34

Please sign in to comment.