diff --git a/mainwindow.cpp b/mainwindow.cpp index 7fb3dc6..c364ed2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -380,13 +380,13 @@ void MainWindow::readSerial() } if(data.startsWith("ok")) readyRecieve++; - else if(data.startsWith("wait")) readyRecieve = 1; else if(checkingTemperature && data.startsWith("T:")) { QFuture parseThread = QtConcurrent::run(this, &MainWindow::parseStatus, data); statusWatcher.setFuture(parseThread); //parseThread is very costly operation ui->tempLine->setText(data); } + else if(data.startsWith("wait")) readyRecieve = 1; else if(data.startsWith("Resend")) //Handle resend if requested { if(currentLine > 0) currentLine -= data.split(':')[1].toInt();