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.zip rockbox-64321adf4331a97201321f5a37d17aa90fa5d5db.tar.gz rockbox-64321adf4331a97201321f5a37d17aa90fa5d5db.tar.bz2 rockbox-64321adf4331a97201321f5a37d17aa90fa5d5db.tar.xz | |
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 787122d..a709ea7 100644 --- a/utils/themeeditor/parsetreemodel.cpp +++ b/utils/themeeditor/parsetreemodel.cpp @@ -257,8 +257,8 @@ bool ParseTreeModel::setData(const QModelIndex &index, const QVariant &value, if(element->type != COMMENT && element->type != TEXT) return false; - free(element->text); - element->text = strdup(value.toString().trimmed().toAscii()); + free(element->data); + element->data = strdup(value.toString().trimmed().toAscii()); } emit dataChanged(index, index); |