aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qtmips_gui/srceditor.cpp2
1 files changed, 2 insertions, 0 deletions
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) {