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
eab8d6cf
Commit
eab8d6cf
authored
Apr 16, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash on disable effect
parent
77839392
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/view/assetparameterview.cpp
View file @
eab8d6cf
...
...
@@ -242,11 +242,9 @@ void AssetParameterView::refresh(const QModelIndex &topLeft, const QModelIndex &
m_widgets
[
0
]
->
slotRefresh
();
return
;
}
size_t
max
;
if
(
!
bottomRight
.
isValid
())
{
max
=
m_widgets
.
size
()
-
1
;
}
else
{
max
=
(
size_t
)
bottomRight
.
row
();
size_t
max
=
m_widgets
.
size
()
-
1
;
if
(
bottomRight
.
isValid
())
{
max
=
qMin
(
max
,
(
size_t
)
bottomRight
.
row
());
}
Q_ASSERT
(
max
<
m_widgets
.
size
());
for
(
size_t
i
=
(
size_t
)
topLeft
.
row
();
i
<=
max
;
++
i
)
{
...
...
Jean-Baptiste Mardelle
@mardelle
mentioned in issue
#638 (closed)
·
Apr 16, 2020
mentioned in issue
#638 (closed)
mentioned in issue #638
Toggle commit list
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