diff --git a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui index 2f5d02dbf2..2c89348654 100644 --- a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui @@ -31,8 +31,8 @@ 0 0 - 561 - 675 + 139 + 357 @@ -409,7 +409,7 @@ - 1 + 0 @@ -1170,8 +1170,8 @@ 0 0 - 561 - 675 + 300 + 145 diff --git a/src/Mod/Path/PathScripts/PathJobDlg.py b/src/Mod/Path/PathScripts/PathJobDlg.py index 10c025b1c6..3e0db9e75a 100644 --- a/src/Mod/Path/PathScripts/PathJobDlg.py +++ b/src/Mod/Path/PathScripts/PathJobDlg.py @@ -348,11 +348,14 @@ class JobTemplateExport: job.Stock.Height, ) elif stockType == PathStock.StockType.CreateCylinder: - seHint = translate("Path_Job", "Cylinder: %.2f x %.2f") % ( + seHint = translate("Path_Job:", "Cylinder: %.2f x %.2f") % ( job.Stock.Radius, job.Stock.Height, ) - else: + elif stockType == PathStock.StockType.Unknown: + seHint = "-" + + else: # Existing Solid seHint = "-" PathLog.error(translate("Path_Job", "Unsupported stock type")) self.dialog.stockExtentHint.setText(seHint)