mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user