// virtual
bool MoveEffectCommand::mergeWith(const QUndoCommand * other)
{
+ return false;
if (other->id() != id()) return false;
if (m_track != static_cast<const MoveEffectCommand*>(other)->m_track) return false;
if (m_pos != static_cast<const MoveEffectCommand*>(other)->m_pos) return false;
void CollapsibleGroup::dropEvent(QDropEvent *event)
{
- QMutexLocker lock(&m_mutex);
framegroup->setProperty("active", false);
framegroup->setStyleSheet(framegroup->styleSheet());
const QString effects = QString::fromUtf8(event->mimeData()->data("kdenlive/effectslist"));
return;
}
if (m_subWidgets.isEmpty()) return;
- int new_index = m_subWidgets.at(m_subWidgets.count() - 1)->effectIndex();
+ int new_index = m_subWidgets.last()->effectIndex();
emit moveEffect(ix, new_index, m_index, m_title->text());
event->setDropAction(Qt::MoveAction);
event->accept();
} else {
emit updateEffect(m_clipref, -1, oldeffect, neweffect, effectToMove->effectIndex(),false);
}
-
//if (currentIndex == newIndex) return;
// Update effect index with new position
if (m_effectMetaInfo.trackMode) {