Fixed crash after rejecting a MultiTransform dialog

This commit is contained in:
Jan Rheinländer
2016-04-12 18:12:00 +02:00
committed by Stefan Tröger
parent af25c0c793
commit deb9e85d03
@@ -490,10 +490,6 @@ bool TaskDlgMultiTransformParameters::reject()
Gui::Command::Doc,"App.ActiveDocument.removeObject(\"%s\")", (*it)->getNameInDocument());
}
// roll back the done things
Gui::Command::abortCommand();
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
return TaskDlgTransformedParameters::reject();
}