Commit 0e96e1a6 authored by Till Theato's avatar Till Theato
Browse files

Fix regression: selecting a track should raise the effect stack

svn path=/trunk/kdenlive/; revision=5523
parent 76161397
......@@ -3202,9 +3202,13 @@ void MainWindow::customEvent(QEvent* e)
if (e->type() == QEvent::User)
m_messageLabel->setMessage(static_cast <MltErrorEvent *>(e)->message(), MltError);
}
void MainWindow::slotActivateEffectStackView(ClipItem*, int, bool raise)
void MainWindow::slotActivateEffectStackView(ClipItem* item, int ix, bool raise)
{
if (raise) m_effectStack->raiseWindow(m_effectStackDock);
Q_UNUSED(item)
Q_UNUSED(ix)
if (raise)
m_effectStack->raiseWindow(m_effectStackDock);
}
void MainWindow::slotActivateTransitionView(Transition *t)
......
......@@ -410,7 +410,7 @@ private slots:
void slotAddProjectClip(KUrl url);
void slotShowClipProperties(DocClipBase *clip);
void slotShowClipProperties(QList <DocClipBase *>cliplist, QMap<QString, QString> commonproperties);
void slotActivateEffectStackView(ClipItem*, int, bool raise = true);
void slotActivateEffectStackView(ClipItem* item = NULL, int ix = -1, bool raise = true);
void slotActivateTransitionView(Transition *);
void slotChangeTool(QAction * action);
void slotChangeEdit(QAction * action);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment