PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user