diff --git a/cura/Machines/Models/IntentSelectionModel.py b/cura/Machines/Models/IntentSelectionModel.py index c239472b96..603244a12b 100644 --- a/cura/Machines/Models/IntentSelectionModel.py +++ b/cura/Machines/Models/IntentSelectionModel.py @@ -115,7 +115,7 @@ class IntentSelectionModel(ListModel): try: icon = QUrl.fromLocalFile( Resources.getPath(cura.CuraApplication.CuraApplication.ResourceTypes.ImageFiles, icon)) - except FileNotFoundError: + except (FileNotFoundError, NotADirectoryError, PermissionError): Logger.log("e", f"Icon file for intent {intent_name} not found.") icon = None