forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.4'
Change-Id: Ic9a1cf3b40b259d9c77f2f542405d189171e0fbf
This commit is contained in:
@@ -230,6 +230,7 @@ bool ConnectableItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
|
||||
else
|
||||
newTag = new ScxmlTag(Transition, tag()->document());
|
||||
newTag->setAttribute("type", "external");
|
||||
newTag->setAttribute("event", tag()->document()->nextUniqueId("Transition"));
|
||||
m_newTransition->init(newTag);
|
||||
|
||||
tag()->document()->addTag(tag(), newTag);
|
||||
|
||||
@@ -168,9 +168,6 @@ void ScxmlTag::initId()
|
||||
case History:
|
||||
setAttribute("id", m_document->nextUniqueId("History"));
|
||||
break;
|
||||
case Transition:
|
||||
setAttribute("event", m_document->nextUniqueId("Transition"));
|
||||
break;
|
||||
case Final:
|
||||
setAttribute("id", m_document->nextUniqueId("Final"));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user