From e376abf650137c0d4dfa0f424f3a035813e3f618 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 2 Sep 2019 11:42:17 +0100 Subject: GUI: Fix Missing Field Initializer in List Widget This field was introduced by the TTS code changes, but only one of the constructors was modified to set the default value. --- gui/widgets/list.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/widgets') diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp index 0d2e9c0ef4..cc5ea91745 100644 --- a/gui/widgets/list.cpp +++ b/gui/widgets/list.cpp @@ -62,6 +62,8 @@ ListWidget::ListWidget(Dialog *boss, const String &name, const char *tooltip, ui _quickSelect = true; _editColor = ThemeEngine::kFontColorNormal; + + _lastRead = -1; } ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h, const char *tooltip, uint32 cmd) -- cgit v1.2.3