mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
Master element minor bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3464 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -116,9 +116,8 @@ void MasterElement::updateLabel() {
|
||||
bool show = elementInformations().keyMustShow("label");
|
||||
|
||||
// setup the label
|
||||
(label.isEmpty() || !show)?
|
||||
setTaggedText("label", "_", false):
|
||||
setTaggedText("label", label, true);
|
||||
if (!label.isEmpty() && show) setTaggedText("label", label, true);
|
||||
|
||||
|
||||
//Delete or update the xref
|
||||
if (cri_) {
|
||||
|
||||
Reference in New Issue
Block a user