mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 10:39:59 +01:00
Element : variable assignement of label is now managed by an external class instead of the element itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4772 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -539,7 +539,7 @@ void CrossRefItem::fillCrossRef(QPainter &painter) {
|
||||
*/
|
||||
void CrossRefItem::AddExtraInfo(QPainter &painter, QString type)
|
||||
{
|
||||
QString text = m_element -> assignVariables(m_element -> elementInformations()[type].toString(), m_element);
|
||||
QString text = autonum::AssignVariables::formulaToLabel(m_element -> elementInformations()[type].toString(), m_element->rSequenceStruct(), m_element->diagram(), m_element);
|
||||
bool must_show = m_element -> elementInformations().keyMustShow(type);
|
||||
|
||||
if (!text.isEmpty() && must_show)
|
||||
|
||||
Reference in New Issue
Block a user