summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbtextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbtextedit.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbtextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbtextedit.cpp b/kexi/plugins/forms/widgets/kexidbtextedit.cpp
index 6352f334..6948d840 100644
--- a/kexi/plugins/forms/widgets/kexidbtextedit.cpp
+++ b/kexi/plugins/forms/widgets/kexidbtextedit.cpp
@@ -97,7 +97,7 @@ void KexiDBTextEdit::setReadOnly( bool readOnly )
{
KTextEdit::setReadOnly( readOnly );
TQPalette p = palette();
- TQColor c(readOnly ? lighterGrayBackgroundColor(kapp->palette()) : p.color(TQPalette::Normal, TQColorGroup::Base));
+ TQColor c(readOnly ? lighterGrayBackgroundColor(kapp->palette()) : p.color(TQPalette::Active, TQColorGroup::Base));
setPaper( c );
p.setColor(TQColorGroup::Base, c);
p.setColor(TQColorGroup::Background, c);