mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Paste command, bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3395 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -220,7 +220,8 @@ void PasteDiagramCommand::redo() {
|
||||
e -> rElementInformations().addValue("comment", "");
|
||||
|
||||
//Reset the text field tagged "label
|
||||
e -> taggedText("label") -> setPlainText("_");
|
||||
if (ElementTextItem *eti = e ->taggedText("label"))
|
||||
eti -> setPlainText("_");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user