Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/SCRIPTS/BF/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ local function invalidatePages()
Page = nil
currentState = pageStatus.display
saveTS = 0
collectgarbage()
end

local function rebootFc()
Expand Down Expand Up @@ -432,7 +433,7 @@ function run_ui(event)
end
local attr = (menuLine == i and INVERS or 0)
if event == EVT_VIRTUAL_ENTER and attr == INVERS then
Page = assert(loadScript(SCRIPT_HOME.."/Pages/"..PageFiles[i].script))()
invalidatePages()
currentPage = i
currentState = pageStatus.display
end
Expand Down