Commit 3516c3e4 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Add line break to messagebox

parent 1df6310f
Pipeline #261092 failed with stage
in 6 minutes and 32 seconds
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment