From dce6a577f0a932a5ad1120c4460b808d11ddc762 Mon Sep 17 00:00:00 2001 From: Samuel Abels Date: Mon, 2 Jun 2025 16:45:12 +0200 Subject: [PATCH] fix: preferences key for asset path --- src/Mod/CAM/Path/Tool/assets/ui/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Tool/assets/ui/preferences.py b/src/Mod/CAM/Path/Tool/assets/ui/preferences.py index 5231c1194b..c17b871234 100644 --- a/src/Mod/CAM/Path/Tool/assets/ui/preferences.py +++ b/src/Mod/CAM/Path/Tool/assets/ui/preferences.py @@ -110,7 +110,7 @@ class AssetPreferencesPage: def saveSettings(self): # Check path is writable, then call Path.Preferences.setAssetPath() asset_path = pathlib.Path(self.asset_path_edit.text()) - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Path") + param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/CAM") if param.GetBool("CheckAssetPathWritable", True): if not _is_writable_dir(asset_path): QtGui.QMessageBox.warning(