Fix random crash on windows OS on boot up

This commit is contained in:
HellAholic 2024-02-13 16:04:20 +01:00
parent 234a8115b9
commit 7a72708217

View file

@ -61,7 +61,7 @@ class PrintOrderManager(QObject):
is_enabled = stack and \
stack.getProperty("print_sequence", "value") == "one_at_a_time" and \
stack.getProperty("user_defined_print_order_enabled", "value")
return is_enabled
return bool(is_enabled)
@staticmethod
def initializePrintOrders(nodes: List[CuraSceneNode]) -> None: