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
3516c3e4
Commit
3516c3e4
authored
Nov 04, 2022
by
Jean-Baptiste Mardelle
Browse files
Add line break to messagebox
parent
1df6310f
Pipeline
#261092
failed with stage
in 6 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
3516c3e4
...
...
@@ -2088,15 +2088,16 @@ void MainWindow::slotEditProjectSettings(int ix)
KMessageBox
::
ButtonCode
answer
;
// Project folder changed:
if
(
project
->
isModified
())
{
answer
=
KMessageBox
::
warningContinueCancel
(
this
,
i18n
(
"The current project has not been saved. This will first save the project, then move "
"all temporary files from <b>%1</b> to <b>%2</b>, and the project file will be reloaded"
,
project
->
projectTempFolder
(),
newProjectFolder
));
answer
=
KMessageBox
::
warningContinueCancel
(
this
,
i18n
(
"The current project has not been saved.<br/>This will first save the project, then move "
"all temporary files from <br/><b>%1</b> to <b>%2</b>,<br>and the project file will be reloaded"
,
project
->
projectTempFolder
(),
newProjectFolder
));
if
(
answer
==
KMessageBox
::
Continue
)
{
pCore
->
projectManager
()
->
saveFile
();
}
}
else
{
answer
=
KMessageBox
::
warningContinueCancel
(
this
,
i18n
(
"This will move all temporary files from
<b>%1</b> to <b>%2</b>,
the project file will then be reloaded"
,
this
,
i18n
(
"This will move all temporary files from
<br/>
<b>%1</b> to <b>%2</b>,
<br/>
the project file will then be reloaded"
,
project
->
projectTempFolder
(),
newProjectFolder
));
}
if
(
answer
==
KMessageBox
::
Continue
)
{
...
...
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