Update src/Mod/TechDraw/Gui/ViewProviderPage.cpp

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
This commit is contained in:
WandererFan
2025-02-13 08:24:04 -05:00
parent f86bc82709
commit a2827acf7e

View File

@@ -206,7 +206,8 @@ bool ViewProviderPage::onDelete(const std::vector<std::string>& parms)
"The page is not empty, therefore the\nfollowing referencing objects might be lost:");
bodyMessageStream << '\n';
for (const auto& obj : objs) {
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());
bodyMessageStream << '\n' << QString::fromUtf8(obj->Label.getValue());
}
bodyMessageStream << "\n\n" << QObject::tr("Are you sure you want to continue?");
// show and evaluate the dialog