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
9f51aeb7
Commit
9f51aeb7
authored
Apr 22, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix timeline preview failing when creating a new project
Related to
#993
parent
e725bcfd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
9f51aeb7
...
...
@@ -103,6 +103,7 @@ void TimelineController::setModel(std::shared_ptr<TimelineItemModel> model)
m_lastVideoTarget
=
-
1
;
m_lastAudioTarget
.
clear
();
m_timelinePreview
=
nullptr
;
m_usePreview
=
false
;
m_model
=
std
::
move
(
model
);
m_activeSnaps
.
clear
();
connect
(
m_model
.
get
(),
&
TimelineItemModel
::
requestClearAssetView
,
pCore
.
get
(),
&
Core
::
clearAssetPanel
);
...
...
Write
Preview
Supports
Markdown
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