mirror of
https://github.com/leozide/leocad
synced 2025-02-06 08:46:06 +01:00
Show full tile description as tooltip. Fixes #166
This commit is contained in:
parent
c258b4b709
commit
0524192658
1 changed files with 3 additions and 1 deletions
|
@ -932,7 +932,9 @@ void lcQPropertiesTree::SetPiece(const lcArray<lcObject*>& Selection, lcObject*
|
||||||
partColor->setText(1, color->Name);
|
partColor->setText(1, color->Name);
|
||||||
partColor->setData(0, PropertyValueRole, ColorIndex);
|
partColor->setData(0, PropertyValueRole, ColorIndex);
|
||||||
|
|
||||||
partID->setText(1, Info ? Info->m_strDescription : QString());
|
QString text = Info ? Info->m_strDescription : QString();
|
||||||
|
partID->setText(1, text);
|
||||||
|
partID->setToolTip(1, text);
|
||||||
partID->setData(0, PropertyValueRole, qVariantFromValue((void*)Info));
|
partID->setData(0, PropertyValueRole, qVariantFromValue((void*)Info));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue