mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:09:01 +08:00
Add type hinting for getMachineManager
I like it when my IDE can give me hints, so return types are important. Contributes to issue CURA-4243.
This commit is contained in:
parent
7d24933835
commit
3e2e133682
@ -725,7 +725,7 @@ class CuraApplication(QtApplication):
|
||||
|
||||
self.exec_()
|
||||
|
||||
def getMachineManager(self, *args):
|
||||
def getMachineManager(self, *args) -> MachineManager:
|
||||
if self._machine_manager is None:
|
||||
self._machine_manager = MachineManager.createMachineManager()
|
||||
return self._machine_manager
|
||||
|
Loading…
x
Reference in New Issue
Block a user