Prevent dressup crash due to multi command commit
the same functionality is provided by upstream accept functions
This commit is contained in:
parent
28965457aa
commit
4d12023f17
|
@ -156,10 +156,6 @@ void TaskChamferParameters::apply()
|
||||||
|
|
||||||
//Gui::Command::openCommand("Chamfer changed");
|
//Gui::Command::openCommand("Chamfer changed");
|
||||||
ui->chamferDistance->apply();
|
ui->chamferDistance->apply();
|
||||||
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()");
|
|
||||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
|
|
||||||
|
|
||||||
Gui::Command::commitCommand();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
|
@ -157,9 +157,6 @@ void TaskFilletParameters::apply()
|
||||||
|
|
||||||
//Gui::Command::openCommand("Fillet changed");
|
//Gui::Command::openCommand("Fillet changed");
|
||||||
ui->filletRadius->apply();
|
ui->filletRadius->apply();
|
||||||
Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()");
|
|
||||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
|
|
||||||
Gui::Command::commitCommand();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue
Block a user