Commit 713bfab1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix crash when table has not row

parent e8f43a6f
......@@ -383,6 +383,8 @@ void KeyframeEdit::slotAdjustKeyframeValue(double value)
int KeyframeEdit::getPos(int row)
{
if (!keyframe_list->verticalHeaderItem(row))
return 0;
if (KdenliveSettings::frametimecode())
return keyframe_list->verticalHeaderItem(row)->text().toInt();
else
......
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