Skip to content
GitLab
Menu
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
44a217e7
Commit
44a217e7
authored
Jan 21, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix freeze trying to drag a clip that was just added to Bin.
Related to
#1115
parent
e9e08f0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectitemmodel.cpp
View file @
44a217e7
...
...
@@ -316,6 +316,9 @@ QMimeData *ProjectItemModel::mimeData(const QModelIndexList &indices) const
continue
;
}
std
::
shared_ptr
<
AbstractProjectItem
>
item
=
getBinItemByIndex
(
ix
);
if
(
!
item
->
statusReady
())
{
continue
;
}
AbstractProjectItem
::
PROJECTITEMTYPE
type
=
item
->
itemType
();
if
(
type
==
AbstractProjectItem
::
ClipItem
)
{
ClipType
::
ProducerType
cType
=
item
->
clipType
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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