Skip to content

Commit

Permalink
Arch/Draft: Less clutter in output window
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 2, 2018
1 parent e124b05 commit 7761ea4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Arch/InitGui.py
Expand Up @@ -115,14 +115,14 @@ def Activated(self):
FreeCADGui.draftToolBar.Activated()
if hasattr(FreeCADGui,"Snapper"):
FreeCADGui.Snapper.show()
Msg("Arch workbench activated\n")
Log("Arch workbench activated\n")

def Deactivated(self):
if hasattr(FreeCADGui,"draftToolBar"):
FreeCADGui.draftToolBar.Deactivated()
if hasattr(FreeCADGui,"Snapper"):
FreeCADGui.Snapper.hide()
Msg("Arch workbench deactivated\n")
Log("Arch workbench deactivated\n")

def ContextMenu(self, recipient):
self.appendContextMenu("Utilities",self.draftcontexttools)
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Draft/InitGui.py
Expand Up @@ -109,14 +109,14 @@ def Activated(self):
FreeCADGui.draftToolBar.Activated()
if hasattr(FreeCADGui,"Snapper"):
FreeCADGui.Snapper.show()
Msg("Draft workbench activated\n")
Log("Draft workbench activated\n")

def Deactivated(self):
if hasattr(FreeCADGui,"draftToolBar"):
FreeCADGui.draftToolBar.Deactivated()
if hasattr(FreeCADGui,"Snapper"):
FreeCADGui.Snapper.hide()
Msg("Draft workbench deactivated\n")
Log("Draft workbench deactivated\n")

def ContextMenu(self, recipient):
if (recipient == "View"):
Expand Down

0 comments on commit 7761ea4

Please sign in to comment.