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:
blacksun
2014-11-07 19:24:29 +00:00
parent 041fb1bc92
commit 1329682ad6

View File

@@ -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_) {