From ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= Date: Tue, 8 Oct 2019 16:00:01 +0200 Subject: Force black text in SrcEditor --- qtmips_gui/srceditor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_gui') diff --git a/qtmips_gui/srceditor.cpp b/qtmips_gui/srceditor.cpp index aaed0f2..43e9075 100644 --- a/qtmips_gui/srceditor.cpp +++ b/qtmips_gui/srceditor.cpp @@ -59,6 +59,8 @@ void SrcEditor::setup_common() { p.setColor(QPalette::Inactive, QPalette::Base, Qt::white); p.setColor(QPalette::Disabled, QPalette::Base, Qt::white); setPalette(p); + + setTextColor(Qt::black); } SrcEditor::SrcEditor(QWidget *parent) : Super(parent) { -- cgit v1.2.3