From 4d12023f17ae8a62221db7cdae6f96eda56f1e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Mon, 9 Nov 2015 19:04:13 +0100 Subject: [PATCH] Prevent dressup crash due to multi command commit the same functionality is provided by upstream accept functions --- src/Mod/PartDesign/Gui/TaskChamferParameters.cpp | 4 ---- src/Mod/PartDesign/Gui/TaskFilletParameters.cpp | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp b/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp index 2b71286f8..330d58535 100644 --- a/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp @@ -156,10 +156,6 @@ void TaskChamferParameters::apply() //Gui::Command::openCommand("Chamfer changed"); ui->chamferDistance->apply(); - Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()"); - Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()"); - - Gui::Command::commitCommand(); } //************************************************************************** diff --git a/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp b/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp index 4f7ba8fd1..3c4025574 100644 --- a/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp @@ -157,9 +157,6 @@ void TaskFilletParameters::apply() //Gui::Command::openCommand("Fillet changed"); ui->filletRadius->apply(); - Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()"); - Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()"); - Gui::Command::commitCommand(); } //**************************************************************************