Update src/Mod/TechDraw/Gui/ViewProviderPage.cpp
Co-authored-by: Benjamin Bræstrup Sayoc <[email protected]>
This commit is contained in:
co-authored by
Benjamin Bræstrup Sayoc
parent
8e868c3c1f
commit
bae98e071d
@@ -205,8 +205,8 @@ bool ViewProviderPage::onDelete(const std::vector<std::string>& parms)
|
||||
"Std_Delete",
|
||||
"The page is not empty, therefore the\nfollowing referencing objects might be lost:");
|
||||
bodyMessageStream << '\n';
|
||||
for (auto ObjIterator : objs) {
|
||||
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());
|
||||
for (const auto& obj : objs) {
|
||||
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());
|
||||
}
|
||||
bodyMessageStream << "\n\n" << QObject::tr("Are you sure you want to continue?");
|
||||
// show and evaluate the dialog
|
||||
|
||||
Reference in New Issue
Block a user