Skip to content

Commit

Permalink
Path: Fix related to linkStockAndModel checkbox.
Browse files Browse the repository at this point in the history
The StockEdit class is reused by BoundaryDressup, and this checkbox does not exist in its UI panel.
  • Loading branch information
Russ4262 committed May 13, 2020
1 parent b5beab8 commit 58ba0e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Path/PathScripts/PathJobGui.py
Expand Up @@ -404,7 +404,8 @@ def setupUi(self, obj):
self.form.stockExtXpos.textChanged.connect(self.checkXpos)
self.form.stockExtYpos.textChanged.connect(self.checkYpos)
self.form.stockExtZpos.textChanged.connect(self.checkZpos)
self.form.linkStockAndModel.setChecked(True)
if hasattr(self.form, 'linkStockAndModel'):
self.form.linkStockAndModel.setChecked(True)

def checkXpos(self):
self.trackXpos = self.form.stockExtXneg.text() == self.form.stockExtXpos.text()
Expand Down

0 comments on commit 58ba0e1

Please sign in to comment.