also avoid leading newlines
This commit is contained in:
@@ -226,7 +226,7 @@ bool ViewProviderPage::onDelete(const std::vector<std::string> &)
|
||||
bodyMessageStream << '\n';
|
||||
for (auto ObjIterator : objs)
|
||||
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());
|
||||
bodyMessageStream << QObject::tr("\n\nAre you sure you want to continue?");
|
||||
bodyMessageStream << "\n\n" << QObject::tr("Are you sure you want to continue?");
|
||||
// show and evaluate the dialog
|
||||
int DialogResult = QMessageBox::warning(Gui::getMainWindow(),
|
||||
qApp->translate("Std_Delete", "Object dependencies"), bodyMessage,
|
||||
|
||||
@@ -211,7 +211,7 @@ bool ViewProviderProjGroup::onDelete(const std::vector<std::string> &)
|
||||
bodyMessageStream << '\n';
|
||||
for (auto ObjIterator : objs)
|
||||
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());
|
||||
bodyMessageStream << QObject::tr("\n\nAre you sure you want to continue?");
|
||||
bodyMessageStream << "\n\n" << QObject::tr("Are you sure you want to continue?");
|
||||
// show and evaluate dialog
|
||||
int DialogResult = QMessageBox::warning(Gui::getMainWindow(),
|
||||
qApp->translate("Std_Delete", "Object dependencies"), bodyMessage,
|
||||
|
||||
@@ -197,7 +197,7 @@ bool ViewProviderTemplate::onDelete(const std::vector<std::string> &)
|
||||
bodyMessageStream << qApp->translate("Std_Delete",
|
||||
"The following referencing object might break:");
|
||||
bodyMessageStream << "\n\n" << QString::fromUtf8(page->Label.getValue());
|
||||
bodyMessageStream << QObject::tr("\n\nAre you sure you want to continue?");
|
||||
bodyMessageStream << "\n\n" << QObject::tr("Are you sure you want to continue?");
|
||||
|
||||
// show and evaluate dialog
|
||||
int DialogResult = QMessageBox::warning(Gui::getMainWindow(),
|
||||
|
||||
Reference in New Issue
Block a user