diff --git a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui
index ece015da33..ccc8ef4458 100644
--- a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui
+++ b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui
@@ -14,7 +14,7 @@
Job Edit
- 0
+ 2
@@ -31,8 +31,8 @@
0
0
- 410
- 572
+ 412
+ 549
@@ -96,8 +96,8 @@
0
0
- 100
- 30
+ 96
+ 26
@@ -189,7 +189,7 @@
0
0
- 414
+ 418
762
@@ -211,6 +211,12 @@
-
+
+
+ 0
+ 0
+
+
2
@@ -237,9 +243,9 @@
-
-
+
- New
+ Refresh
diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py
index a1501ade22..158eb9e8b7 100644
--- a/src/Mod/Path/PathScripts/PathAreaOp.py
+++ b/src/Mod/Path/PathScripts/PathAreaOp.py
@@ -136,7 +136,7 @@ class ObjectOp(PathOp.ObjectOp):
'''areaOpOnDocumentRestored(obj) ... overwrite to fully restore receiver'''
pass
- def opSetDefaultValues(self, obj):
+ def opSetDefaultValues(self, obj, job):
'''opSetDefaultValues(obj) ... base implementation, do not overwrite.
The base implementation sets the depths and heights based on the
areaOpShapeForDepths() return value.
diff --git a/src/Mod/Path/PathScripts/PathJobGui.py b/src/Mod/Path/PathScripts/PathJobGui.py
index a59f24f578..d209f6da95 100644
--- a/src/Mod/Path/PathScripts/PathJobGui.py
+++ b/src/Mod/Path/PathScripts/PathJobGui.py
@@ -921,10 +921,10 @@ class TaskPanel:
if -1 != index:
self.template.updateUI()
- def updateStock(self):
+ def refreshStock(self):
self.updateStockEditor(self.form.stock.currentIndex())
- def centerInStock(self):
+ def centerInStock(self):
bbb = self.obj.Base.Shape.BoundBox
bbs = self.obj.Stock.Shape.BoundBox
by = bbs.Center - bbb.Center
@@ -1016,7 +1016,7 @@ class TaskPanel:
self.form.centerInStockXY.clicked.connect(self.centerInStockXY)
self.form.stock.currentIndexChanged.connect(self.updateStockEditor)
- self.form.updateStock.clicked.connect(self.updateStock)
+ self.form.refreshStock.clicked.connect(self.refreshStock)
self.form.orientXAxis.clicked.connect(lambda: self.orientSelected(FreeCAD.Vector(1, 0, 0)))
self.form.orientYAxis.clicked.connect(lambda: self.orientSelected(FreeCAD.Vector(0, 1, 0)))