aboutsummaryrefslogtreecommitdiff
path: root/src/Update/Update.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Update/Update.elm')
-rw-r--r--src/Update/Update.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index 2cb45cb..5e8c13e 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -98,7 +98,7 @@ update action model =
ReadOnly ->
{ model | timerEdition <- Nothing }
KeyPressed keyCode ->
- { model | timerEdition <- Maybe.map (updateTimerEdition (keyCodeToChar keyCode)) model.timerEdition }
+ { model | timerEdition <- Maybe.map (updateTimerEdition (keyCodeToNumberChar keyCode)) model.timerEdition }
updateTimerTime : TimerEdition -> Dict Id Timer -> Dict Id Timer
updateTimerTime timerEdition =