diff --git a/app/gui/oven_control/manualcookwindow.cpp b/app/gui/oven_control/manualcookwindow.cpp index bb0927f..7c25d24 100644 --- a/app/gui/oven_control/manualcookwindow.cpp +++ b/app/gui/oven_control/manualcookwindow.cpp @@ -338,14 +338,16 @@ void ManualCookWindow::updateView() else interTemp = oven->interTemp(); + ui->interTempButton->setChecked(oven->interTempEnabled()); + bool interTempEnabled = oven->interTempEnabled(); if (interTempEnabled != lastViewInterTempEnabled || interTemp != lastViewInterTemp) { if (interTempEnabled != lastViewInterTempEnabled) - { +// { lastViewInterTempEnabled = oven->interTempEnabled(); - ui->interTempButton->setChecked(interTempEnabled); - } +// ui->interTempButton->setChecked(interTempEnabled); +// } lastViewInterTemp = interTemp; diff --git a/app/gui/oven_control/manualcookwindow.ui b/app/gui/oven_control/manualcookwindow.ui index 8943716..629419f 100644 --- a/app/gui/oven_control/manualcookwindow.ui +++ b/app/gui/oven_control/manualcookwindow.ui @@ -710,11 +710,7 @@ QPushButton:pressed, QPushButton:focus { image: url(:/images/slider_icon/temp_ov QPushButton { image: url(:/images/slider_icon/humidity.png); } -QPushButton:checked { image: url(:/images/slider_icon/humidity_ov.png); } -QPushButton:pressed, QPushButton:focus { border: 2px dotted white; border-radius: 70px; } - - - true +QPushButton:pressed, QPushButton:focus { image: url(:/images/slider_icon/humidity_ov.png); } icon