Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
259
Issues
259
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
Kdenlive
Commits
f0e73b31
Commit
f0e73b31
authored
Jul 12, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In insert mode, deleting a clip should perform an extract operation.
Related to
#673
parent
a5e5af96
Pipeline
#26843
passed with stage
in 9 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/timeline2/view/timelinecontroller.cpp
src/timeline2/view/timelinecontroller.cpp
+7
-1
No files found.
src/timeline2/view/timelinecontroller.cpp
View file @
f0e73b31
...
...
@@ -468,7 +468,13 @@ void TimelineController::deleteSelectedClips()
return
;
}
// only need to delete the first item, the others will be deleted in cascade
m_model
->
requestItemDeletion
(
*
sel
.
begin
());
if
(
m_model
->
m_editMode
==
TimelineMode
::
InsertEdit
)
{
// In insert mode, perform an extract operation (don't leave gaps)
extract
(
*
sel
.
begin
());
}
else
{
m_model
->
requestItemDeletion
(
*
sel
.
begin
());
}
}
int
TimelineController
::
getMainSelectedItem
(
bool
restrictToCurrentPos
,
bool
allowComposition
)
...
...
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