mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add tests for DFFileModel
CURA-7959
This commit is contained in:
parent
29f62b0579
commit
6dd62f9024
2 changed files with 74 additions and 0 deletions
|
@ -40,6 +40,7 @@ class DigitalFactoryFileModel(ListModel):
|
|||
def setFiles(self, df_files_in_project: List[DigitalFactoryFileResponse]) -> None:
|
||||
if self._files == df_files_in_project:
|
||||
return
|
||||
self.clear()
|
||||
self._files = df_files_in_project
|
||||
self._update()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue