+ connect(ui.listWidget, SIGNAL(currentRowChanged(int)), this, SLOT(slotTransitionChanged()));
+}
+
+void TransitionSettings::slotTransitionChanged() {
+ QDomElement e = m_usedTransition->toXML();
+ QDomElement newElement = e.cloneNode().toElement();
+ newElement.setAttribute("type", ui.listWidget->currentItem()->text());
+ emit transitionUpdated(e, newElement);