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

Fix last commit breaking paste and tests

parent 174b4d3f
Pipeline #225052 passed with stage
in 12 minutes and 25 seconds
......@@ -1622,9 +1622,9 @@ bool TimelineFunctions::pasteClips(const std::shared_ptr<TimelineItemModel> &tim
timeline->requestClearSelection();
if (!semaphore.tryAcquire(1)) {
pCore->displayMessage(i18n("Another paste operation is in progress"), ErrorMessage, 500);
}
while (!semaphore.tryAcquire(1)) {
qApp->processEvents();
while (!semaphore.tryAcquire(1)) {
qApp->processEvents();
}
}
waitingBinIds.clear();
QDomDocument copiedItems;
......
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