[TD]Add check for invalid section coordinate system

This commit is contained in:
wandererfan
2025-04-27 13:31:00 -04:00
parent c33fe5f274
commit ee2b3cae4e
3 changed files with 47 additions and 54 deletions

View File

@@ -107,7 +107,7 @@ protected Q_SLOTS:
private:
double requiredRotation(double inputAngle);
std::string makeSectionLabel(QString symbol);
std::string makeSectionLabel(const QString& symbol);
void createComplexSection();
void updateComplexSection();
@@ -161,8 +161,8 @@ public:
std::vector<App::DocumentObject*> xShapes,
App::DocumentObject* profileObject,
std::vector<std::string> profileSubs);
TaskDlgComplexSection(TechDraw::DrawComplexSection* page);
~TaskDlgComplexSection() override;
explicit TaskDlgComplexSection(TechDraw::DrawComplexSection* page) ;
~TaskDlgComplexSection() override = default;
public:
/// is called the TaskView when the dialog is opened