mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 21:05:26 +03:00
Fixes #1851
This commit is contained in:
parent
317c4657be
commit
47067b9169
1 changed files with 1 additions and 5 deletions
|
@ -1021,11 +1021,7 @@ void CompareDialog::printSwitches()
|
||||||
str.append("<tr>");
|
str.append("<tr>");
|
||||||
color=getColor1(sw1,sw2);
|
color=getColor1(sw1,sw2);
|
||||||
str.append(QString("<td width=\"45%\"><font color=%1>").arg(color)+sw1+"</font></td>");
|
str.append(QString("<td width=\"45%\"><font color=%1>").arg(color)+sw1+"</font></td>");
|
||||||
if (i<9) {
|
str.append("<td align=\"center\" width=\"10%\"><b>"+tr("L%1").arg(i+1)+QString("</b></td>"));
|
||||||
str.append("<td align=\"center\" width=\"10%\"><b>"+tr("LS")+QString("%1</b></td>").arg(i+1));
|
|
||||||
} else {
|
|
||||||
str.append("<td align=\"center\" width=\"10%\"><b>"+tr("LS")+('A'+(i-9))+"</b></td>");
|
|
||||||
}
|
|
||||||
color=getColor2(sw1,sw2);
|
color=getColor2(sw1,sw2);
|
||||||
str.append(QString("<td width=\"45%\"><font color=%1>").arg(color)+sw2+"</font></td>");
|
str.append(QString("<td width=\"45%\"><font color=%1>").arg(color)+sw2+"</font></td>");
|
||||||
str.append("</tr>");
|
str.append("</tr>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue