summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2018-01-14 18:47:44 +0100
committerMichael Buesch <m@bues.ch>2018-01-14 18:47:44 +0100
commit2704b87631bdbbdc6ec11b91a2b2bad1489980fc (patch)
treee962475e01f4811ca92e44c27ada530aaa296d6c
parent4f40cd5e8c6e37961b70f016477a9a7368338f88 (diff)
downloadtoprammer-master.tar.xz
toprammer-master.zip
toprammer-gui: Fix editor foreground for dark desktop configurationsHEADmaster
Signed-off-by: Michael Buesch <m@bues.ch>
-rwxr-xr-xtoprammer-gui2
1 files changed, 2 insertions, 0 deletions
diff --git a/toprammer-gui b/toprammer-gui
index 010a65d..c308677 100755
--- a/toprammer-gui
+++ b/toprammer-gui
@@ -1218,6 +1218,7 @@ class HexEditWidget(QWidget):
self.scrollArea = scrollArea
self.bgColor = QColor("#FFFFFF")
+ self.fgColor = QColor("#000000")
self.cursor0Color = QColor("#A0A07F")
self.cursor1Color = QColor("#D0D0AF")
@@ -1443,6 +1444,7 @@ class HexEditWidget(QWidget):
self.cursor0Color)
# Text
+ p.setPen(QPen(self.fgColor))
y = self.charHeight
for line in self.textLines:
p.drawText(0, y, line)
bues.ch cgit interface