Skip to content

Commit

Permalink
Draft: minor fix in up/downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 16, 2015
1 parent 62b0498 commit 79458a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Mod/Draft/DraftTools.py
Expand Up @@ -2603,8 +2603,8 @@ def proceed(self):
if FreeCADGui.Selection.getSelection():
FreeCADGui.addModule("Draft")
self.commit(translate("draft","Upgrade"),
['Draft.upgrade(FreeCADGui.Selection.getSelection(),delete=True)'])
FreeCAD.ActiveDocument.recompute()
['Draft.upgrade(FreeCADGui.Selection.getSelection(),delete=True)',
'FreeCAD.ActiveDocument.recompute()'])
self.finish()


Expand Down Expand Up @@ -2633,8 +2633,8 @@ def proceed(self):
if FreeCADGui.Selection.getSelection():
FreeCADGui.addModule("Draft")
self.commit(translate("draft","Downgrade"),
['Draft.downgrade(FreeCADGui.Selection.getSelection(),delete=True)'])
FreeCAD.ActiveDocument.recompute()
['Draft.downgrade(FreeCADGui.Selection.getSelection(),delete=True)',
'FreeCAD.ActiveDocument.recompute()'])
self.finish()


Expand Down

0 comments on commit 79458a8

Please sign in to comment.