mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Bug fix : conductor don't apply text to text item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4762 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1919,8 +1919,9 @@ void Conductor::setFreezeLabel(bool freeze) {
|
|||||||
this->properties_.text = freezelabel;
|
this->properties_.text = freezelabel;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (m_frozen_label.isEmpty())
|
||||||
|
return;
|
||||||
this->setText(m_frozen_label);
|
this->setText(m_frozen_label);
|
||||||
if (m_frozen_label == "") return;
|
|
||||||
properties_.text = m_frozen_label;
|
properties_.text = m_frozen_label;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user