forked from len0rd/rockbox
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
This commit is contained in:
parent
0e44ce9bed
commit
594d734143
5 changed files with 14 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue