m_doIt(doIt)
{
setText(i18n("Move transition"));
+ if (parent) {
+ // command has a parent, so there are several operations ongoing, do not refresh monitor
+ m_refresh = false;
+ } else m_refresh = true;
}
{
// kDebug()<<"---- undoing action";
m_doIt = true;
- m_view->moveTransition(m_endPos, m_startPos);
+ m_view->moveTransition(m_endPos, m_startPos, m_refresh);
}
// virtual
void MoveTransitionCommand::redo()
{
- kDebug() << "---- redoing action";
- if (m_doIt) m_view->moveTransition(m_startPos, m_endPos);
+ //kDebug() << "---- redoing action";
+ if (m_doIt) m_view->moveTransition(m_startPos, m_endPos, m_refresh);
m_doIt = true;
}
-#include "moveclipcommand.moc"
+