AddPrinterPagesModelWitoutCancel.py 316 B

12345678910
  1. # Copyright (c) 2022 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from .AddPrinterPagesModel import AddPrinterPagesModel
  4. class AddPrinterPagesModelWithoutCancel(AddPrinterPagesModel):
  5. def initialize(self) -> None:
  6. self._generatePages()
  7. self.setItems(self._pages)