mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Theme Editor: Enabled conditional display of ID3/file info with checkbox on the device panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
71b561e3df
commit
68756cca43
2 changed files with 9 additions and 0 deletions
|
@ -906,6 +906,14 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
|
|||
else
|
||||
child = 1;
|
||||
}
|
||||
else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I'
|
||||
|| element->tag->name[0] == 'f' || element->tag->name[0] == 'F')
|
||||
{
|
||||
if(info.device()->data("id3available").toBool())
|
||||
child = 0;
|
||||
else
|
||||
child = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
child = val.toInt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue