Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
174b4d3f
Commit
174b4d3f
authored
Aug 30, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinefunctions.cpp
View file @
174b4d3f
...
...
@@ -1620,6 +1620,9 @@ bool TimelineFunctions::pasteClips(const std::shared_ptr<TimelineItemModel> &tim
Fun
&
redo
)
{
timeline
->
requestClearSelection
();
if
(
!
semaphore
.
tryAcquire
(
1
))
{
pCore
->
displayMessage
(
i18n
(
"Another paste operation is in progress"
),
ErrorMessage
,
500
);
}
while
(
!
semaphore
.
tryAcquire
(
1
))
{
qApp
->
processEvents
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment