fix(lua): event handling may not work when using the Lua 'page' object (#6878)
This commit is contained in:
@@ -2349,6 +2349,7 @@ class WidgetPage : public NavWindow, public LuaEventHandler
|
|||||||
{
|
{
|
||||||
if (prevBtn) prevBtn->enable(prevActive());
|
if (prevBtn) prevBtn->enable(prevActive());
|
||||||
if (nextBtn) nextBtn->enable(nextActive());
|
if (nextBtn) nextBtn->enable(nextActive());
|
||||||
|
NavWindow::checkEvents();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user