mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:49:01 +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 PyQt5.QtCore import Qt, pyqtProperty
|
||||||
|
|
||||||
from UM.Application import Application
|
|
||||||
from UM.Qt.ListModel import ListModel
|
from UM.Qt.ListModel import ListModel
|
||||||
|
|
||||||
|
|
||||||
@ -43,7 +42,6 @@ class PackagesModel(ListModel):
|
|||||||
items = []
|
items = []
|
||||||
|
|
||||||
for package in self._metadata:
|
for package in self._metadata:
|
||||||
print(package["author"])
|
|
||||||
items.append({
|
items.append({
|
||||||
"id": package["package_id"],
|
"id": package["package_id"],
|
||||||
"type": package["package_type"],
|
"type": package["package_type"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user