Replace minus (-) by underscore (_)

This commit is contained in:
Claveau Joshua
2020-07-04 20:43:40 +02:00
parent 59ba3d24af
commit 8ac8ff5384
6 changed files with 30 additions and 30 deletions

View File

@@ -56,7 +56,7 @@ void CompositeTextEditDialog::setUpComboBox()
if(m_text && (m_text->parentElement()->linkType() & Element::AllReport)) //Special treatment for text owned by a folio report
{
qstrl << "label" << "function" << "tension-protocol";
qstrl << "label" << "function" << "tension_protocol";
}
else
{

View File

@@ -1781,11 +1781,11 @@ QStringList DynamicTextItemDelegate::availableInfo(DynamicElementTextItem *deti)
if (!cond->properties().m_function.isEmpty())
qstrl << "function";
if(!cond->properties().m_tension_protocol.isEmpty())
qstrl << "tension-protocol";
qstrl << "tension_protocol";
if(!cond->properties().m_wire_color.isEmpty())
qstrl << "couleur-conducteur";
qstrl << "conductor_color";
if(!cond->properties().m_wire_section.isEmpty())
qstrl << "section-conducteur";
qstrl << "conductor_section";
}
return qstrl;