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
a06cd10c
Commit
a06cd10c
authored
May 14, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix possible startup crash
parent
f6a35ed8
Pipeline
#20183
passed with stage
in 9 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core.cpp
View file @
a06cd10c
...
...
@@ -920,5 +920,8 @@ bool Core::enableMultiTrack(bool enable)
int
Core
::
audioChannels
()
{
return
currentDoc
()
->
audioChannels
();
if
(
m_projectManager
&&
m_projectManager
->
current
())
{
return
m_projectManager
->
current
()
->
audioChannels
();
}
return
2
;
}
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