Skip to content

Commit e18d5b1

Browse files
DavidDamkeddamke
andauthored
Enhancement/edit work should auto focus note field (#121)
* focus noteField instead of Project * set cursor to the end of the word Co-authored-by: ddamke <[email protected]>
1 parent 569103c commit e18d5b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/de/doubleslash/keeptime/view/ManageWorkController.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,12 @@ private void initialize() {
110110

111111
setProjectUpComboBox();
112112

113-
Platform.runLater(() -> projectComboBox.requestFocus());
113+
Platform.runLater(() -> {
114+
noteTextArea.end();
115+
noteTextArea.requestFocus();
116+
});
117+
118+
114119
}
115120

116121
private void setUpTimeRestriction() {

0 commit comments

Comments
 (0)