Skip to content

Do not display parens in lua subfolder titles - #3696

Merged
pkendall64 merged 1 commit into
ExpressLRS:masterfrom
CapnBry:lua-folder-title
Jul 14, 2026
Merged

pkendall64 merged 1 commit into
ExpressLRS:masterfrom
CapnBry:lua-folder-title

Conversation

@CapnBry

@CapnBry CapnBry commented Jul 11, 2026

Copy link
Copy Markdown
Member

This resolves the issue of lua subfolder titles, that are displayed on the top line of the lua, not updating when the value in it changes. This is resolved by removing the dynamic part of the folder name (everything in parens) in the same way the LVGL lua does it.

I did not update the r number since this is just cosmetic and we haven't had an actual main release with it yet, but I can be forced if it is that important.

Details

  • Go into the dynamic power subfolder, the title will be TX Power (100mW Dyn) or whatever is set
  • Change power to e.g. 50mW
  • Title stays the same with the incorrect power level on the current lua. Will display just TX Power all the time on this PR.

Thanks @mha1 for reporting and @jurgelenas for already fixing this in the future lua.

@mha1

mha1 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Thanks, works as advertised. Update to r-19?

@pkendall64 pkendall64 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me

@pkendall64
pkendall64 merged commit a9d4a9c into ExpressLRS:master Jul 14, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants