From 8aeb5ae97116d300479bfc9ca14ca3c39d3b97af Mon Sep 17 00:00:00 2001 From: balazs-bamer Date: Mon, 26 Jan 2015 12:50:33 +0100 Subject: [PATCH] Cancel by fill type edit did not work After clicking Apply the old fill type was overwritten and canceling the whole edit did not revert the fill type into the original value. --- src/Mod/Surface/Gui/BSurf.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Mod/Surface/Gui/BSurf.cpp b/src/Mod/Surface/Gui/BSurf.cpp index b92f37e2c7..e038462a46 100644 --- a/src/Mod/Surface/Gui/BSurf.cpp +++ b/src/Mod/Surface/Gui/BSurf.cpp @@ -162,7 +162,6 @@ void BSurf::apply() if(editedObject->filltype.getValue() != fillType) { editedObject->filltype.setValue(fillType); - oldFillType = fillType; Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.recompute()"); } }