Fixed bug in Draft when switching workbenches

This commit is contained in:
Yorik van Havre 2012-04-25 10:34:44 -03:00
parent 3316a36cfa
commit 76081e302c

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()