mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Display Location Field in Diagram and assign Folio Variables to Element's Information Fields
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4546 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -183,9 +183,10 @@ void PasteDiagramCommand::redo()
|
||||
if (e->texts().size())
|
||||
e->texts().first()->setPlainText("/");
|
||||
} else {
|
||||
//Reset the information about the label and the comment
|
||||
//Reset the information about the label, the comment and location
|
||||
e -> rElementInformations().addValue("label", "");
|
||||
e -> rElementInformations().addValue("comment", "");
|
||||
e -> rElementInformations().addValue("location", "");
|
||||
|
||||
//Reset the text field tagged "label
|
||||
if (ElementTextItem *eti = e ->taggedText("label"))
|
||||
|
||||
Reference in New Issue
Block a user