summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-05 19:12:52 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-05 19:12:52 +0000
commit68756cca43e94dc47282153e851587d84db9258b (patch)
treef920855c71004b310ba99ab38a8c04eacfd5b1ae /utils/themeeditor/models/parsetreenode.cpp
parent71b561e3dfb07edf3ccaee7f119167d6ec681a50 (diff)
downloadrockbox-68756cca43e94dc47282153e851587d84db9258b.tar.gz
rockbox-68756cca43e94dc47282153e851587d84db9258b.zip
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
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 25cae58762..f5a7e81166 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -906,6 +906,14 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
906 else 906 else
907 child = 1; 907 child = 1;
908 } 908 }
909 else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I'
910 || element->tag->name[0] == 'f' || element->tag->name[0] == 'F')
911 {
912 if(info.device()->data("id3available").toBool())
913 child = 0;
914 else
915 child = 1;
916 }
909 else 917 else
910 { 918 {
911 child = val.toInt(); 919 child = val.toInt();