Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcdorman committed Jan 8, 2015
1 parent 59f35f1 commit f80c463
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devices/kovan/src/KovanDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ QString Kovan::Device::name() const

QString Kovan::Device::version() const
{
return "2.0.3";
return "2.0.4";
}

bool Kovan::Device::isTouchscreen() const
Expand Down
1 change: 1 addition & 0 deletions src/Program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <kovan/general.h>

#include <QDebug>
#include <QThread>

Program::~Program()
{
Expand Down
6 changes: 4 additions & 2 deletions src/ProgramsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ void ProgramsWidget::run()
Qt::QueuedConnection);
QThreadPool::globalInstance()->start(&compiler);
RootController::ref().presentDialog(&logger);
if(!Compiler::Output::isSuccess(compiler.output())) goto done;
if(!Compiler::Output::isSuccess(compiler.output())) {
ui->run->setEnabled(true);
return;
}
}

const QString archivePath = SystemPrefix::ref().rootManager()->archivesPath(name);
Expand All @@ -109,7 +112,6 @@ void ProgramsWidget::run()
RootController::ref().presentWidget(programWidget);
}

done:
ui->run->setEnabled(true);
}

Expand Down

0 comments on commit f80c463

Please sign in to comment.