Fixed bug in Draft when switching workbenches

This commit is contained in:
Yorik van Havre
2012-04-25 10:34:44 -03:00
parent d9872bfa57
commit de3ee44cbf

View File

@@ -1170,6 +1170,7 @@ class DraftToolBar:
def Deactivated(self):
if (FreeCAD.activeDraftCommand != None):
self.continueMode = False
FreeCAD.activeDraftCommand.finish()
if self.taskmode:
FreeCADGui.Control.clearTaskWatcher()