forked from qt-creator/qt-creator
Fix incorrect text color in project settings tabs
Non selected tabs could end up with the wrong text color depending on different states.
This commit is contained in:
@@ -219,6 +219,8 @@ void TargetSelector::paintEvent(QPaintEvent *event)
|
||||
} else {
|
||||
image= m_runselected;
|
||||
}
|
||||
} else {
|
||||
p.setPen(Qt::black);
|
||||
}
|
||||
|
||||
QRect buttonRect(x, 1, targetWidth() , image.height());
|
||||
|
||||
Reference in New Issue
Block a user