mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 23:19:13 +08:00
Fix random crash on windows OS on boot up
This commit is contained in:
parent
234a8115b9
commit
7a72708217
@ -61,7 +61,7 @@ class PrintOrderManager(QObject):
|
|||||||
is_enabled = stack and \
|
is_enabled = stack and \
|
||||||
stack.getProperty("print_sequence", "value") == "one_at_a_time" and \
|
stack.getProperty("print_sequence", "value") == "one_at_a_time" and \
|
||||||
stack.getProperty("user_defined_print_order_enabled", "value")
|
stack.getProperty("user_defined_print_order_enabled", "value")
|
||||||
return is_enabled
|
return bool(is_enabled)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def initializePrintOrders(nodes: List[CuraSceneNode]) -> None:
|
def initializePrintOrders(nodes: List[CuraSceneNode]) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user