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
7466caef
Commit
7466caef
authored
Aug 18, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix shift click for multiple selection broken in Bin
parent
d9fc8628
Pipeline
#30959
passed with stage
in 10 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
7466caef
...
...
@@ -1269,13 +1269,16 @@ bool Bin::eventFilter(QObject *obj, QEvent *event)
std
::
shared_ptr
<
AbstractProjectItem
>
item
=
m_itemModel
->
getBinItemByIndex
(
m_proxyModel
->
mapToSource
(
idx
));
if
(
item
->
itemType
()
==
AbstractProjectItem
::
FolderItem
)
{
QTreeView
*
tView
=
static_cast
<
QTreeView
*>
(
m_itemView
);
if
(
!
tView
->
isExpanded
(
idx
))
{
tView
->
expandAll
();
}
else
{
tView
->
collapseAll
();
QRect
r
=
tView
->
visualRect
(
idx
);
if
(
mouseEvent
->
pos
().
x
()
<
r
.
x
())
{
if
(
!
tView
->
isExpanded
(
idx
))
{
tView
->
expandAll
();
}
else
{
tView
->
collapseAll
();
}
return
true
;
}
}
return
true
;
}
}
}
...
...
Farid Abdelnour
🎥
@frdbr
mentioned in issue
#777 (closed)
·
Aug 18, 2020
mentioned in issue
#777 (closed)
mentioned in issue #777
Toggle commit list
Write
Preview
Markdown
is supported
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