diff --git a/GUI/Model/Job/ParameterTreeBuilder.cpp b/GUI/Model/Job/ParameterTreeBuilder.cpp index 8488a6c0858b7da79c1cd3c4745249482dd502ea..b17a06185a44634399117a8b63824d27bec0a74b 100644 --- a/GUI/Model/Job/ParameterTreeBuilder.cpp +++ b/GUI/Model/Job/ParameterTreeBuilder.cpp @@ -312,7 +312,7 @@ void ParameterTreeBuilder::addRotation(ParameterLabelItem* parentLabel, ItemWith if (!r) return; - auto* label = addLabel<RotationCatalog>(parentLabel, "Rotation", r); + auto* label = addLabel2<RotationItem, RotationCatalog>(parentLabel, "Rotation", r); for (auto* d : r->rotationProperties()) addParameterItem(label, *d); } diff --git a/GUI/Model/Sample/RotationCatalog.h b/GUI/Model/Sample/RotationCatalog.h index d165f722366ce9098b888c0dfe745c4dd42b578f..db202a3e1ada52e4bbac2dc40772938497f085aa 100644 --- a/GUI/Model/Sample/RotationCatalog.h +++ b/GUI/Model/Sample/RotationCatalog.h @@ -22,8 +22,6 @@ class RotationItem; class RotationCatalog { public: - using BaseItem = RotationItem; - // Do not change the numbering! It is serialized! enum class Type : uint8_t { None = 0,