From c7931ab95c8c69f70b60b77f8525ecd23c86bcdc Mon Sep 17 00:00:00 2001 From: forntoh Date: Wed, 18 Dec 2024 13:29:49 +0100 Subject: [PATCH] Update view value when clearing input field The code now resets the view value to 0 when clearing the input field. --- src/ItemInput.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ItemInput.h b/src/ItemInput.h index 5c30f172..8284bcf7 100644 --- a/src/ItemInput.h +++ b/src/ItemInput.h @@ -293,6 +293,7 @@ class ItemInput : public MenuItem { */ void clear(MenuRenderer* renderer) { value[0] = '\0'; + view = 0; draw(renderer); renderer->drawBlinker(); // Log