Skip to content

Commit

Permalink
automatically activate A2plus workbench when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwbe committed Feb 17, 2019
1 parent 09e9707 commit fec7157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
__title__ = 'A2plus assembly Workbench - InitGui file'
__author__ = 'kbwbe'

A2P_VERSION = 'V0.3.13'
A2P_VERSION = 'V0.3.14'

import sys
PyVersion = sys.version_info[0]
Expand Down
4 changes: 2 additions & 2 deletions a2p_viewProviderProxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def getIcon(self):
return self.iconPath

def doubleClicked(self,vobj):
print("ConstraintViewProviderProxy doubleClicked")
FreeCADGui.activateWorkbench('a2pWorkbench')
FreeCADGui.runCommand("a2p_EditConstraintCommand")

#WF: next 3 methods not required
Expand Down Expand Up @@ -170,7 +170,7 @@ def __init__( self, constraintObj, iconPath ):
self.enableDeleteCounterPart = True #allow to delete the original of the mirror

def doubleClicked(self,vobj):
print("ConstraintMirrorViewProviderProxy doubleClicked")
FreeCADGui.activateWorkbench('a2pWorkbench')
FreeCADGui.runCommand("a2p_EditConstraintCommand")

def getIcon(self):
Expand Down

0 comments on commit fec7157

Please sign in to comment.