mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2024-12-28 04:23:40 +01:00
jfkeys: fix fkeys not updating after changing text/image
This commit is contained in:
parent
11868d85ee
commit
7ebc3b802c
2 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,7 @@ void jfkeys_set(jfkeys *f, bopti_image_t const *img)
|
|||
{
|
||||
f->img = img;
|
||||
f->level = 0;
|
||||
f->widget.update = true;
|
||||
}
|
||||
#endif /* FX9860G */
|
||||
|
||||
|
@ -42,6 +43,7 @@ void jfkeys_set(jfkeys *f, char const *labels)
|
|||
{
|
||||
f->labels = labels;
|
||||
f->level = 0;
|
||||
f->widget.update = true;
|
||||
}
|
||||
|
||||
/* get_level(): Find the level inside a function definition */
|
||||
|
|
Loading…
Reference in a new issue