只修改同名的别名
This commit is contained in:
parent
57823699a3
commit
510f78af28
|
|
@ -2047,9 +2047,9 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
m_formInfo->m_strLineName = strLineName;
|
m_formInfo->m_strLineName = strLineName;
|
||||||
//m_formInfo->m_strSlfName = sFilePath;
|
//m_formInfo->m_strSlfName = sFilePath;
|
||||||
//显示名称,替换曲线名
|
//显示名称,替换曲线名
|
||||||
if(m_formInfo->m_strAliasName.contains(strOldLineName))
|
if(m_formInfo->m_strAliasName == strOldLineName)
|
||||||
{
|
{
|
||||||
m_formInfo->m_strAliasName.replace(strOldLineName, strLineName);
|
m_formInfo->m_strAliasName = strLineName;
|
||||||
//
|
//
|
||||||
for (auto it = m_propertyData.constBegin(); it != m_propertyData.constEnd(); ++it)
|
for (auto it = m_propertyData.constBegin(); it != m_propertyData.constEnd(); ++it)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user