summaryrefslogtreecommitdiff
path: root/utils/themeeditor/editorwindow.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-07 21:09:13 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-07 21:09:13 +0000
commit594d734143a8a9df49dcec3f80a8588fa3fdb836 (patch)
tree7b05baf051f68fea47e1c50103835dcf163234e0 /utils/themeeditor/editorwindow.cpp
parent0e44ce9bedbea1244ef971b48f38a9c48eecf0f5 (diff)
downloadrockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.tar.gz
rockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.zip
Theme Editor: Added a clear erros function to the parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26673 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/editorwindow.cpp')
-rw-r--r--utils/themeeditor/editorwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/themeeditor/editorwindow.cpp b/utils/themeeditor/editorwindow.cpp
index ca5f8bfa73..23724ee1ad 100644
--- a/utils/themeeditor/editorwindow.cpp
+++ b/utils/themeeditor/editorwindow.cpp
@@ -166,10 +166,10 @@ void EditorWindow::shiftTab(int index)
166 else 166 else
167 { 167 {
168 /* Syncing the tree view and the status bar */ 168 /* Syncing the tree view and the status bar */
169 ui->parseTree->setModel(dynamic_cast<SkinDocument*> 169 SkinDocument* doc = dynamic_cast<SkinDocument*>
170 (ui->editorTabs->currentWidget())->getModel()); 170 (ui->editorTabs->currentWidget());
171 parseStatus->setText(dynamic_cast<SkinDocument*> 171 ui->parseTree->setModel(doc->getModel());
172 (ui->editorTabs->currentWidget())->getStatus()); 172 parseStatus->setText(doc->getStatus());
173 173
174 ui->actionSave_Document->setEnabled(true); 174 ui->actionSave_Document->setEnabled(true);
175 ui->actionSave_Document_As->setEnabled(true); 175 ui->actionSave_Document_As->setEnabled(true);