mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-17 23:59:58 +01:00
Fix bug with folio report formula
This commit is contained in:
@@ -1179,7 +1179,7 @@ QString DynamicElementTextItem::reportReplacedCompositeText() const
|
|||||||
{
|
{
|
||||||
Element *elmt = m_other_report.data();
|
Element *elmt = m_other_report.data();
|
||||||
QString label = m_report_formula;
|
QString label = m_report_formula;
|
||||||
label = elmt->actualLabel();
|
label = autonum::AssignVariables::formulaToLabel(label, elmt->rSequenceStruct(), elmt->diagram(), elmt);
|
||||||
string.replace("%{label}", label);
|
string.replace("%{label}", label);
|
||||||
}
|
}
|
||||||
if (m_watched_conductor)
|
if (m_watched_conductor)
|
||||||
|
|||||||
Reference in New Issue
Block a user