Fix transform feature crash on apply

-Redundant "reset edit" and command commit removed
-Redundant apply call removed
This commit is contained in:
Stefan Tröger
2016-01-03 21:32:31 +01:00
parent 16433939e1
commit 99ef8e756d
6 changed files with 3 additions and 43 deletions

View File

@@ -82,6 +82,9 @@ bool TaskDlgFeatureParameters::accept() {
// Iterate over parameter dialogs and apply all parameters from them
for ( QWidget *wgt : Content ) {
TaskFeatureParameters *param = qobject_cast<TaskFeatureParameters *> (wgt);
if(!param)
continue;
param->saveHistory ();
param->apply ();
}