diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-10 21:02:44 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-10 21:02:44 +0000 |
commit | 64321adf4331a97201321f5a37d17aa90fa5d5db (patch) | |
tree | 4ab86b70f8b4059432e713a1ef7c03613fa9ad0e /utils/themeeditor/parsetreemodel.cpp | |
parent | 6c522624b364b3d85ac7f95d55061d4677246dad (diff) | |
download | rockbox-64321adf4331a97201321f5a37d17aa90fa5d5db.tar.gz rockbox-64321adf4331a97201321f5a37d17aa90fa5d5db.zip |
Theme Editor: Applied FS#11389, switched conditional elements to use tag fields along with children, instead of holding the tag as the first child
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/parsetreemodel.cpp')
-rw-r--r-- | utils/themeeditor/parsetreemodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/parsetreemodel.cpp b/utils/themeeditor/parsetreemodel.cpp index 787122d02d..a709ea762f 100644 --- a/utils/themeeditor/parsetreemodel.cpp +++ b/utils/themeeditor/parsetreemodel.cpp | |||
@@ -257,8 +257,8 @@ bool ParseTreeModel::setData(const QModelIndex &index, const QVariant &value, | |||
257 | if(element->type != COMMENT && element->type != TEXT) | 257 | if(element->type != COMMENT && element->type != TEXT) |
258 | return false; | 258 | return false; |
259 | 259 | ||
260 | free(element->text); | 260 | free(element->data); |
261 | element->text = strdup(value.toString().trimmed().toAscii()); | 261 | element->data = strdup(value.toString().trimmed().toAscii()); |
262 | } | 262 | } |
263 | 263 | ||
264 | emit dataChanged(index, index); | 264 | emit dataChanged(index, index); |