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
0248e6bd
Commit
0248e6bd
authored
Feb 24, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash setting effect geometry to frame size.
Fixes
#567
parent
0baa4133
Pipeline
#15574
passed with stage
in 13 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/geometrywidget.cpp
View file @
0248e6bd
...
...
@@ -44,7 +44,7 @@ GeometryWidget::GeometryWidget(Monitor *monitor, QPair<int, int> range, const QR
layout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
layout
->
setSpacing
(
0
);
m_defaultSize
=
pCore
->
getCurrentFrameSize
();
m_sourceSize
=
frameSize
.
isValid
()
?
frameSize
:
m_defaultSize
;
m_sourceSize
=
(
frameSize
.
isValid
()
&&
!
frameSize
.
isNull
())
?
frameSize
:
m_defaultSize
;
/*QString paramName = i18n(paramTag.toUtf8().data());
QString comment = m_model->data(ix, AssetParameterModel::CommentRole).toString();
if (!comment.isEmpty()) {
...
...
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