Warning fix

This commit is contained in:
Bertrand Songis
2020-10-28 17:08:42 +01:00
parent dc93f3a75a
commit 008c01185a
+1 -1
View File
@@ -124,7 +124,7 @@ void Table::Body::onEvent(event_t event)
} }
else if (event == EVT_ROTARY_LEFT) { else if (event == EVT_ROTARY_LEFT) {
auto table = static_cast<Table *>(parent); auto table = static_cast<Table *>(parent);
if (table->windowFlags & FORWARD_SCROLL) { if (table->getWindowFlags() & FORWARD_SCROLL) {
auto index = selection - 1; auto index = selection - 1;
if (index >= 0) { if (index >= 0) {
select(index, true); select(index, true);