diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-08-28 13:06:03 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-28 13:06:03 (GMT) |
| commit | 969de9a8bccfa97da29de2eac61be9325dd2fdaa (patch) | |
| tree | 820a3bbe74993ff6ce6b7f430d187a397a46f363 /src/displayapp/screens/FirmwareValidation.cpp | |
| parent | df8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff) | |
| parent | 85c99797dad39348976d92ecf935536f362ee2c5 (diff) | |
Merge pull request #492 from Riksu9000/new_touch_handler
New touch handler
Diffstat (limited to 'src/displayapp/screens/FirmwareValidation.cpp')
| -rw-r--r-- | src/displayapp/screens/FirmwareValidation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/FirmwareValidation.cpp b/src/displayapp/screens/FirmwareValidation.cpp index 233ebd5..34a43a9 100644 --- a/src/displayapp/screens/FirmwareValidation.cpp +++ b/src/displayapp/screens/FirmwareValidation.cpp @@ -68,10 +68,10 @@ bool FirmwareValidation::Refresh() { } void FirmwareValidation::OnButtonEvent(lv_obj_t* object, lv_event_t event) { - if (object == buttonValidate && event == LV_EVENT_PRESSED) { + if (object == buttonValidate && event == LV_EVENT_CLICKED) { validator.Validate(); running = false; - } else if (object == buttonReset && event == LV_EVENT_PRESSED) { + } else if (object == buttonReset && event == LV_EVENT_CLICKED) { validator.Reset(); } } |
