Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
a2096142
Commit
a2096142
authored
Feb 25, 2018
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix left resize
parent
89bf4d94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/timeline2/model/timelinemodel.cpp
src/timeline2/model/timelinemodel.cpp
+1
-5
No files found.
src/timeline2/model/timelinemodel.cpp
View file @
a2096142
...
...
@@ -981,11 +981,7 @@ bool TimelineModel::requestItemResize(int itemId, int size, bool right, bool log
Q_ASSERT
(
isClip
(
itemId
)
||
isComposition
(
itemId
));
if
(
getItemTrackId
(
itemId
)
!=
-
1
)
{
QModelIndex
modelIndex
=
isClip
(
itemId
)
?
makeClipIndexFromID
(
itemId
)
:
makeCompositionIndexFromID
(
itemId
);
if
(
right
)
{
notifyChange
(
modelIndex
,
modelIndex
,
false
,
true
,
logUndo
);
}
else
{
notifyChange
(
modelIndex
,
modelIndex
,
true
,
false
,
logUndo
);
}
notifyChange
(
modelIndex
,
modelIndex
,
!
right
,
true
,
logUndo
);
}
return
true
;
};
...
...
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