diff -r 1425bf3e18ed -r 053c0578cf58 src/EditRecipe.cpp --- a/src/EditRecipe.cpp Fri Apr 01 14:58:57 2022 +0200 +++ b/src/EditRecipe.cpp Fri Apr 01 16:52:25 2022 +0200 @@ -91,12 +91,11 @@ ui->est_abvShow->setMarkerTextIsValue(true); ui->est_abvShow->setValue(query.value(30).toDouble()); + QColor color = Utils::ebc_to_color(query.value(31).toInt()); ui->est_colorEdit->setValue(query.value(31).toDouble()); - QColor color = Utils::ebc_to_color(query.value(31).toInt()); ui->est_colorEdit->setStyleSheet(Utils::ebc_to_style(query.value(31).toInt())); - ui->est_colorGlass->setColor(color); ui->est_colorShow->setPrecision(0); - ui->est_colorShow->setMarkerTextIsValue(false); + ui->est_colorShow->setMarkerTextIsValue(true); ui->est_colorShow->setRange(query.value(15).toDouble(), query.value(16).toDouble()); ui->est_colorShow->setValue(query.value(31).toDouble());