diff --git a/ChangeLog.txt b/ChangeLog.txt index 1e4e2c312..8fce60202 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -2,6 +2,7 @@ - [#903] Bug in tool Cut Spline path. - [#905] Valentina crashes with error: This id is not unique. - [#909] Valentina produces wrong united path. +- [#912] Labels in inactive state return to initial color. # Version 0.6.1 October 23, 2018 - [#885] Regression. Broken support for multi size measurements. diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index 39e64daa1..e231e3781 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -1185,6 +1185,7 @@ void DialogTool::ChangeColor(QWidget *widget, const QColor &color) SCASSERT(widget != nullptr) QPalette palette = widget->palette(); palette.setColor(QPalette::Active, widget->foregroundRole(), color); + palette.setColor(QPalette::Inactive, widget->foregroundRole(), color); widget->setPalette(palette); }