Skip to content

Commit 430cd0c

Browse files
committed
Fixed 12864 issue: values were not refreshed when being adjusted
1 parent 41c2d4d commit 430cd0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Display/ValueMenuItem.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ void ValueMenuItem::Draw(Lcd& lcd, PixelNumber rightMargin, bool highlight) noex
186186
error = true;
187187
break;
188188
}
189+
itemChanged = (error || currentValue != oldValue);
189190
}
190-
itemChanged = (error || currentValue != oldValue);
191+
// else we are adjusting, so itemChanged should already be set
191192
}
192193

193194
if (itemChanged || !drawn || (highlight != highlighted))

0 commit comments

Comments
 (0)