Commit 5406f3e7 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fix incorrect text color in project settings tabs

Non selected tabs could end up with the wrong text
color depending on different states.
parent 0dad7cb2
...@@ -219,6 +219,8 @@ void TargetSelector::paintEvent(QPaintEvent *event) ...@@ -219,6 +219,8 @@ void TargetSelector::paintEvent(QPaintEvent *event)
} else { } else {
image= m_runselected; image= m_runselected;
} }
} else {
p.setPen(Qt::black);
} }
QRect buttonRect(x, 1, targetWidth() , image.height()); QRect buttonRect(x, 1, targetWidth() , image.height());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment