mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Greatly decrease the bloat / complexity of the toolbox
There was a lot of stuff going on that didn't need to happen, so I cut those parts out in order to improve the overview.
This commit is contained in:
parent
b1440737e6
commit
07d210483c
3 changed files with 32 additions and 32 deletions
|
@ -29,8 +29,9 @@ class AuthorsModel(ListModel):
|
|||
self._filter = {} # type: Dict[str, str]
|
||||
|
||||
def setMetadata(self, data: List[Dict[str, Union[str, List[str], int]]]):
|
||||
self._metadata = data
|
||||
self._update()
|
||||
if self._metadata != data:
|
||||
self._metadata = data
|
||||
self._update()
|
||||
|
||||
def _update(self) -> None:
|
||||
items = [] # type: List[Dict[str, Union[str, List[str], int, None]]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue