Fix apply() method not called consistently

The python console commands where not consistenly reported because
the apply function was not called or not implemented.

The function is now called from the base class and also when
a subfeature is closed in MultiTransform.

Some missing properties are also added.
This commit is contained in:
André Althaus
2024-02-17 14:30:49 +01:00
parent 565b83d8fe
commit cf627f5ce4
12 changed files with 53 additions and 84 deletions

View File

@@ -554,6 +554,7 @@ TaskDlgTransformedParameters::TaskDlgTransformedParameters(ViewProviderTransform
bool TaskDlgTransformedParameters::accept()
{
parameter->exitSelectionMode();
parameter->apply();
return TaskDlgFeatureParameters::accept ();
}
@@ -562,6 +563,7 @@ bool TaskDlgTransformedParameters::reject()
{
// ensure that we are not in selection mode
parameter->exitSelectionMode();
return TaskDlgFeatureParameters::reject ();
}