Fixed crash after rejecting a MultiTransform dialog
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user