Merge pull request #39 from davidskeck/patch-3
Reset selection to 0 on resign from setting state
This commit is contained in:
commit
e0168c6de2
@ -221,6 +221,7 @@ void countdown_face_resign(movement_settings_t *settings, void *context) {
|
|||||||
(void) settings;
|
(void) settings;
|
||||||
countdown_state_t *state = (countdown_state_t *)context;
|
countdown_state_t *state = (countdown_state_t *)context;
|
||||||
if (state->mode == cd_setting) {
|
if (state->mode == cd_setting) {
|
||||||
|
state->selection = 0;
|
||||||
state->mode = cd_waiting;
|
state->mode = cd_waiting;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user