Skip to content

Commit 74f21b2

Browse files
authored
Merge pull request AY2324S2-CS2103T-F13-1#278 from tituschewxj/fix-autocomplete-tab-issue
Fix autocomplete tab issue
2 parents 8bd9535 + f91001e commit 74f21b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/seedu/address/ui/CommandBox.java

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ private void setStyleToDefault() {
102102

103103
private void handleKeyPressEvent(KeyEvent e) {
104104
previousKeyCodePressed = e.getCode();
105+
106+
// handle certain key events that update text in a different order
107+
updateLastModifiedText(commandTextField.getText());
108+
105109
switch (e.getCode()) {
106110
case TAB:
107111
handleTabKeyPressEvent(e);

0 commit comments

Comments
 (0)