mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:59:13 +08:00
Clean up PackagesModel
CURA-5035
This commit is contained in:
parent
ad3317a992
commit
554ebb6617
@ -6,7 +6,6 @@ from typing import Dict
|
||||
|
||||
from PyQt5.QtCore import Qt, pyqtProperty
|
||||
|
||||
from UM.Application import Application
|
||||
from UM.Qt.ListModel import ListModel
|
||||
|
||||
|
||||
@ -43,7 +42,6 @@ class PackagesModel(ListModel):
|
||||
items = []
|
||||
|
||||
for package in self._metadata:
|
||||
print(package["author"])
|
||||
items.append({
|
||||
"id": package["package_id"],
|
||||
"type": package["package_type"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user