diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 21:09:13 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 21:09:13 +0000 |
| commit | 594d734143a8a9df49dcec3f80a8588fa3fdb836 (patch) | |
| tree | 7b05baf051f68fea47e1c50103835dcf163234e0 /utils/themeeditor/editorwindow.cpp | |
| parent | 0e44ce9bedbea1244ef971b48f38a9c48eecf0f5 (diff) | |
| download | rockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.zip rockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.tar.gz rockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.tar.bz2 rockbox-594d734143a8a9df49dcec3f80a8588fa3fdb836.tar.xz | |
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 '')
| -rw-r--r-- | utils/themeeditor/editorwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/themeeditor/editorwindow.cpp b/utils/themeeditor/editorwindow.cpp index ca5f8bf..23724ee 100644 --- a/utils/themeeditor/editorwindow.cpp +++ b/utils/themeeditor/editorwindow.cpp @@ -166,10 +166,10 @@ void EditorWindow::shiftTab(int index) else { /* Syncing the tree view and the status bar */ - ui->parseTree->setModel(dynamic_cast<SkinDocument*> - (ui->editorTabs->currentWidget())->getModel()); - parseStatus->setText(dynamic_cast<SkinDocument*> - (ui->editorTabs->currentWidget())->getStatus()); + SkinDocument* doc = dynamic_cast<SkinDocument*> + (ui->editorTabs->currentWidget()); + ui->parseTree->setModel(doc->getModel()); + parseStatus->setText(doc->getStatus()); ui->actionSave_Document->setEnabled(true); ui->actionSave_Document_As->setEnabled(true); |