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

Don't attempt deleting the clip on aborting a thumbnail job

parent fced1a0b
Pipeline #266299 passed with stage
in 12 minutes and 13 seconds
......@@ -754,7 +754,7 @@ void ClipLoadTask::abort()
}
Fun undo = []() { return true; };
Fun redo = []() { return true; };
if (!m_softDelete) {
if (!m_softDelete && !m_thumbOnly) {
auto binClip = pCore->projectItemModel()->getClipByBinID(QString::number(m_owner.second));
if (binClip) {
QMetaObject::invokeMethod(binClip.get(), "setInvalid", Qt::QueuedConnection);
......
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