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

Swap build/run buttons

This was unintentionally inverted after translations were
introduced.
parent aa63a8d0
......@@ -236,7 +236,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
else
p.setPen(buildSelected ? Qt::black : Qt::white);
p.drawText(textRect, Qt::AlignHCenter, runString);
p.drawText(textRect, Qt::AlignHCenter, buildString);
// Run
textRect.moveLeft(x + targetWidth()/2 - 2 * margin);
......@@ -244,7 +244,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
p.setPen(QColor(0x555555));
else
p.setPen(buildSelected ? Qt::white: Qt::black);
p.drawText(textRect, Qt::AlignHCenter, buildString);
p.drawText(textRect, Qt::AlignHCenter, runString);
x += targetWidth();
......
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