diff --git a/mainwindow.cpp b/mainwindow.cpp index 515388d..366ff0d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -385,6 +385,7 @@ void MainWindow::readSerial() { QFuture parseThread = QtConcurrent::run(this, &MainWindow::parseStatus, data); statusWatcher.setFuture(parseThread); //parseThread is very costly operation + ui->tempLine->setText(data); } else if(data.startsWith("Resend")) //Handle resend if requested { @@ -403,7 +404,6 @@ void MainWindow::readSerial() readingFiles = true; //start reading files from SD } - commandDone = true; printMsg(QString(data)); //echo } } diff --git a/mainwindow.ui b/mainwindow.ui index 438ce59..941f993 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -7,7 +7,7 @@ 0 0 761 - 433 + 456 @@ -206,6 +206,19 @@ + + + + 200 + 15 + + + + + + + + Check temperature @@ -555,7 +568,6 @@ - diff --git a/settingswindow.cpp b/settingswindow.cpp index 71ae4e6..caf176a 100644 --- a/settingswindow.cpp +++ b/settingswindow.cpp @@ -7,7 +7,7 @@ SettingsWindow::SettingsWindow(QWidget *parent) : { ui->setupUi(this); - if(!settings.value("core/firstrun").toBool()) ui->senderbox->setValue(2); + if(!settings.value("core/firstrun").toBool()) ui->senderbox->setValue(4); else ui->senderbox->setValue(settings.value("core/senderinterval").toFloat()); if(settings.value("core/statusinterval").toInt()) ui->statusbox->setValue(settings.value("core/statusinterval").toInt());