Commit 4cb49e2e authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

don't check for a clip if we have an empty id

parent 3f847e3a
......@@ -1734,7 +1734,7 @@ ProjectClip *Bin::getBinClip(const QString &id)
if (id.contains(QLatin1Char('_'))) {
clip = m_rootFolder->clip(id.section(QLatin1Char('_'), 0, 0));
}
else {
else if (!id.isEmpty()) {
clip = m_rootFolder->clip(id);
}
return clip;
......
Supports Markdown
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