Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz committed Jan 23, 2025
1 parent 7871c0a commit 7ac4870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions radio/src/gui/colorlcd/standalone_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ void StandaloneLuaWindow::deleteLater(bool detach, bool trash)

luaState = prevLuaState;

luaEmptyEventBuffer();

Window::deleteLater(detach, trash);
}

Expand Down
2 changes: 1 addition & 1 deletion radio/src/lua/api_colorlcd_lvgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static int luaLvglObj(lua_State *L, std::function<LvglWidgetObject*()> create, b

static int luaLvglObjEx(lua_State *L, std::function<LvglWidgetObjectBase*()> create, bool fullscreenOnly = false)
{
if (luaLvglManager && (!fullscreenOnly || !luaLvglManager->isFullscreen())) {
if (luaLvglManager && (!fullscreenOnly || luaLvglManager->isFullscreen())) {
LvglWidgetObjectBase* p = nullptr;
LvglWidgetObjectBase* prevParent = nullptr;
if (lua_gettop(L) == 2) {
Expand Down

0 comments on commit 7ac4870

Please sign in to comment.