Fix highlighting a measurement separator.
This commit is contained in:
parent
bd13db8371
commit
214f4f7562
|
@ -3249,10 +3249,11 @@ void TMainWindow::RefreshTable(bool freshCall)
|
||||||
}
|
}
|
||||||
else if (meash->GetType() == VarType::MeasurementSeparator)
|
else if (meash->GetType() == VarType::MeasurementSeparator)
|
||||||
{
|
{
|
||||||
QTableWidgetItem *item = AddCell(VAbstractApplication::VApp()->TrVars()->MToUser(meash->GetName()),
|
QTableWidgetItem *item = AddSeparatorCell(
|
||||||
currentRow, ColumnName, Qt::AlignVCenter); // name
|
VAbstractApplication::VApp()->TrVars()->MToUser(meash->GetName()), currentRow, ColumnName,
|
||||||
|
Qt::AlignVCenter); // name
|
||||||
item->setData(Qt::UserRole, meash->GetName());
|
item->setData(Qt::UserRole, meash->GetName());
|
||||||
AddSeparatorCell(meash->GetDescription(), currentRow, ColumnFullName, Qt::AlignVCenter); // description
|
AddCell(meash->GetDescription(), currentRow, ColumnFullName, Qt::AlignVCenter); // description
|
||||||
|
|
||||||
if (mType == MeasurementsType::Individual)
|
if (mType == MeasurementsType::Individual)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user