fix: preferences key for asset path

This commit is contained in:
Samuel Abels
2025-06-02 16:45:12 +02:00
parent f0bdf79767
commit d63fccc1d1

View File

@@ -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(