Commit 20c5f6fe authored by Simon Eugster's avatar Simon Eugster
Browse files

http://www.kdenlive.org/mantis/view.php?id=1771

svn path=/trunk/kdenlive/; revision=4753
parent 61f216b3
......@@ -24,7 +24,6 @@
#include <QHeaderView>
KeyframeEdit::KeyframeEdit(QDomElement e, int minFrame, int maxFrame, int minVal, int maxVal, Timecode tc, int active_keyframe, QWidget* parent) :
QWidget(parent),
m_min(minFrame),
......@@ -340,7 +339,11 @@ void KeyframeEdit::slotAdjustKeyframeInfo(bool seek)
if (!doubleparam)
continue;
doubleparam->blockSignals(true);
doubleparam->setValue(keyframe_list->item(item->row(), col)->text().toInt());
if (keyframe_list->item(item->row(), col)) {
doubleparam->setValue(keyframe_list->item(item->row(), col)->text().toInt());
} else {
kDebug() << "Null pointer exception caught: http://www.kdenlive.org/mantis/view.php?id=1771";
}
doubleparam->blockSignals(false);
}
if (KdenliveSettings::keyframeseek() && seek)
......
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