diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-11-26 19:32:21 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-05 13:56:03 +0100 |
commit | 925b33bdaabc7d07d6910d5696af1ff49287d8fa (patch) | |
tree | be6860fa01002bf4c8604744e47334e4982e8b41 /src/widgets/styles | |
parent | 83df5c71e6bdb13569202ba84572fd2c309d63d2 (diff) |
QPlainTextEdit: update internal palette on QEvent::EnabledChange
QEvent::EnabledChange did not update the palette of the internal
QPlainTextEditControl which lead to a wrong text color when the
QPlainTextEdit was disabled e.g. due to a QGroupBox.
Fix it the same way it is done in QTextEdit - set the new palette also
to the internal control when QEvent::EnabledChange is received.
Fixes: QTBUG-80150
Change-Id: Icbeddf3d6cd4877a3d8d4a06b2da69383dd776d2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions