mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ class CuraApplication(QtApplication):
|
||||||
|
|
||||||
self.exec_()
|
self.exec_()
|
||||||
|
|
||||||
def getMachineManager(self, *args):
|
def getMachineManager(self, *args) -> MachineManager:
|
||||||
if self._machine_manager is None:
|
if self._machine_manager is None:
|
||||||
self._machine_manager = MachineManager.createMachineManager()
|
self._machine_manager = MachineManager.createMachineManager()
|
||||||
return self._machine_manager
|
return self._machine_manager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue