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

Warn user if a paste operation is in progress

parent 72443b80
Pipeline #225020 failed with stage
in 12 minutes and 1 second
......@@ -1620,6 +1620,9 @@ bool TimelineFunctions::pasteClips(const std::shared_ptr<TimelineItemModel> &tim
Fun &redo)
if (!semaphore.tryAcquire(1)) {
pCore->displayMessage(i18n("Another paste operation is in progress"), ErrorMessage, 500);
while (!semaphore.tryAcquire(1)) {
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