From d8197ef61741816cf4aba961f68880ac75972807 Mon Sep 17 00:00:00 2001 From: NeoTheFox Date: Wed, 4 Mar 2015 00:06:44 +0300 Subject: [PATCH] Minor ui tweaks --- mainwindow.cpp | 5 +++++ settingswindow.ui | 3 +++ 2 files changed, 8 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index a1adff4..b66aa14 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -34,6 +34,9 @@ MainWindow::MainWindow(QWidget *parent) : checkingTemperature = settings.value("core/checktemperature").toBool(); ui->checktemp->setChecked(checkingTemperature); + ui->etmpspin->setValue(settings.value("user/extrudertemp").toInt()); + ui->btmpspin->setValue(settings.value("user/bedtemp").toInt()); + if(!firstrun) echo = settings.value("core/echo").toBool(); else echo = false; @@ -81,6 +84,8 @@ MainWindow::~MainWindow() settings.setValue("printer/baudrateIndex", ui->baudbox->currentIndex()); settings.setValue("core/checktemperature", ui->checktemp->isChecked()); + settings.setValue("user/extrudertemp", ui->estepspin->value()); + settings.setValue("user/bedtemp", ui->btmpspin->value()); if(firstrun) settings.setValue("core/firstrun", true); settings.beginWriteArray("user/recentfiles"); diff --git a/settingswindow.ui b/settingswindow.ui index 2971a91..924371e 100644 --- a/settingswindow.ui +++ b/settingswindow.ui @@ -88,6 +88,9 @@ + + Show every sent command in console + Echo commands