[FEM] add missing analysis deletion handling

as it was, one could delete the analysis container breaking everything. Now you get a warning.

- also fix typos
This commit is contained in:
Uwe
2022-03-24 15:56:08 +01:00
parent d3bd8141f9
commit 856c25da67
4 changed files with 62 additions and 30 deletions

View File

@@ -64,7 +64,7 @@ bool ViewProviderSolver::onDelete(const std::vector<std::string>&)
QString bodyMessage;
QTextStream bodyMessageStream(&bodyMessage);
bodyMessageStream << qApp->translate("Std_Delete",
"The page is not empty, therefore the\nfollowing referencing objects might be lost:");
"The solver is not empty, therefore the\nfollowing referencing objects might be lost:");
bodyMessageStream << '\n';
for (auto ObjIterator : objs)
bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue());