Fix crash

CURA-11561
This commit is contained in:
Erwan MATHIEU 2024-02-05 12:58:02 +01:00
parent 9afe5b46db
commit 2ae9908334

View file

@ -699,7 +699,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
if self._dialog.getResult() == {}:
return WorkspaceReader.PreReadResult.cancelled
self._load_profile = not is_pcb or self._dialog.selectSameProfileChecked
self._load_profile = not is_pcb or (self._dialog.selectSameProfileChecked and self._dialog.isCompatibleMachine)
self._resolve_strategies = self._dialog.getResult()
#