Minor: minimum XRef offset corrected. Assign variables to XRef link menu

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4548 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
dfochi
2016-06-07 17:24:33 +00:00
parent 373f3bf5a6
commit 130cbf75f8
3 changed files with 4 additions and 5 deletions

View File

@@ -134,13 +134,13 @@ void ElementSelectorWidget::buildInterface() {
DiagramContext dc = elmt -> elementInformations();
if (!dc["label"].toString().isEmpty())
button_text = dc["label"].toString() + " ";
button_text = elmt->assignVariables(dc["label"].toString(), elmt) + " ";
if (!dc["comment"].toString().isEmpty())
button_text += dc["comment"].toString();
button_text += elmt->assignVariables(dc["comment"].toString(), elmt);
if (!dc["location"].toString().isEmpty())
button_text += dc["location"].toString();
button_text += elmt->assignVariables(dc["location"].toString(), elmt);
if (!button_text.isEmpty())
button_text += "\n";