mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:09:08 +08:00
Add typing for get---ManagementModel
Just to have my IDE find usages properly, really. Contributes to issue CURA-6600.
This commit is contained in:
parent
16ea437255
commit
9a6f76c069
@ -979,13 +979,13 @@ class CuraApplication(QtApplication):
|
||||
return self._machine_action_manager
|
||||
|
||||
@pyqtSlot(result = QObject)
|
||||
def getMaterialManagementModel(self):
|
||||
def getMaterialManagementModel(self) -> MaterialManagementModel:
|
||||
if not self._material_management_model:
|
||||
self._material_management_model = MaterialManagementModel(parent = self)
|
||||
return self._material_management_model
|
||||
|
||||
@pyqtSlot(result = QObject)
|
||||
def getQualityManagementModel(self):
|
||||
def getQualityManagementModel(self) -> QualityManagementModel:
|
||||
if not self._quality_management_model:
|
||||
self._quality_management_model = QualityManagementModel(parent = self)
|
||||
return self._quality_management_model
|
||||
|
Loading…
x
Reference in New Issue
Block a user