Skip to content

Commit b5d1b43

Browse files
committed
added comments
1 parent ad077a1 commit b5d1b43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public void initializeWith(final Work work) {
8686
try {
8787
stringConverter.fromString(newValue);
8888
text.setValue(newValue);
89+
// needed to log in value from editor to spinner
8990
startTimeSpinner.increment(0); // TODO find better Solution
9091
} catch (final DateTimeParseException e) {
9192
text.setValue(oldValue);
@@ -98,6 +99,7 @@ public void initializeWith(final Work work) {
9899
try {
99100
stringConverter.fromString(newValue);
100101
text.setValue(newValue);
102+
// needed to log in value from editor to spinner
101103
endTimeSpinner.increment(0); // TODO find better Solution
102104
} catch (final DateTimeParseException e) {
103105
text.setValue(oldValue);

0 commit comments

Comments
 (0)