summaryrefslogtreecommitdiffstats
path: root/tdeui/ktextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ktextedit.cpp')
-rw-r--r--tdeui/ktextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktextedit.cpp b/tdeui/ktextedit.cpp
index 3ebb1375f..e0208be82 100644
--- a/tdeui/ktextedit.cpp
+++ b/tdeui/ktextedit.cpp
@@ -332,7 +332,7 @@ void KTextEdit::setReadOnly(bool readOnly)
if ( d->customPalette )
{
TQPalette p = palette();
- TQColor color = p.color(TQPalette::Normal, TQColorGroup::Base);
+ TQColor color = p.color(TQPalette::Active, TQColorGroup::Base);
p.setColor(TQColorGroup::Base, color);
p.setColor(TQColorGroup::Background, color);
setPalette( p );