mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Hard code fix for preventing element autonumbering crashing QElectro until correction. Minor: assign project variables to element label
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4564 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -271,6 +271,7 @@ void CustomElement::paint(QPainter *qp, const QStyleOptionGraphicsItem *options)
|
||||
instructions.
|
||||
*/
|
||||
void CustomElement::parseLabels() {
|
||||
return;
|
||||
if ((this->taggedText("label")!= NULL) && (location().projectId()!=-1) && (this->taggedText("label")->toPlainText()=="_")) { //element is being added
|
||||
QXmlStreamReader rxml;
|
||||
QString path[10];
|
||||
|
||||
Reference in New Issue
Block a user