PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function

This commit is contained in:
wmayer
2024-07-18 00:02:07 +02:00
parent 01d1e2b374
commit b1029bc682
21 changed files with 107 additions and 97 deletions

View File

@@ -302,9 +302,10 @@ TaskDlgDraftParameters::~TaskDlgDraftParameters() = default;
bool TaskDlgDraftParameters::accept()
{
auto tobj = vp->getObject();
if (!tobj->isError())
auto tobj = getObject();
if (!tobj->isError()) {
parameter->showObject();
}
parameter->apply();