Commit 03b4df1f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Disable duplicate keyframe when cursor is over a keyframe

Related to #1169
parent de9bf0f0
......@@ -464,6 +464,7 @@ void KeyframeWidget::slotAtKeyframe(bool atKeyframe, bool singleKeyframe)
m_buttonAddDelete->setToolTip(i18n("Add keyframe"));
}
m_buttonCenter->setEnabled(!atKeyframe);
m_buttonCopy->setEnabled(!atKeyframe);
emit updateEffectKeyframe(atKeyframe || singleKeyframe);
m_selectType->setEnabled(atKeyframe || singleKeyframe);
for (const auto &w : m_parameters) {
......
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