Skip to content

Commit

Permalink
Merge pull request #228 from kbwbe/devel
Browse files Browse the repository at this point in the history
automatically activate A2plus workbench when needed
  • Loading branch information
kbwbe authored Feb 17, 2019
2 parents c2a5e44 + fec7157 commit 16e3ae8
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 16e3ae8

Please sign in to comment.