From b759337f4dbe97c8c1465077a64831ee5beffedf Mon Sep 17 00:00:00 2001 From: NeoTheFox Date: Sun, 8 Mar 2015 18:33:16 +0300 Subject: [PATCH] Ui tweaks --- mainwindow.cpp | 3 ++- mainwindow.ui | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 81893af..40b7c0f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -261,7 +261,7 @@ void MainWindow::serialconnect() { ui->connectBtn->setText("Disconnect"); ui->sendBtn->setDisabled(false); - ui->pauseBtn->setDisabled(false); + //ui->pauseBtn->setDisabled(false); ui->progressBar->setValue(0); ui->controlBox->setDisabled(false); ui->consoleGroup->setDisabled(false); @@ -612,6 +612,7 @@ void MainWindow::on_sendBtn_clicked() injectCommand("M27"); ui->sendBtn->setText("Start"); ui->pauseBtn->setText("Pause"); + ui->pauseBtn->setEnabled(true); if(autolock) ui->controlBox->setChecked(true); paused = false; } diff --git a/mainwindow.ui b/mainwindow.ui index 7049331..1a27448 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -861,6 +861,12 @@ STOP 0 + + + 190 + 0 + + Console