mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Make MachineNodeLoadJob protected inner class
It should not be used outside of this class. Contributes to issue CURA-6793.
This commit is contained in:
parent
f3736f0576
commit
f1e35907d2
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class ContainerTree:
|
|||
## Ran after completely starting up the application.
|
||||
def _onStartupFinished(self):
|
||||
currently_added = ContainerRegistry.getInstance().findContainerStacks() # Find all currently added global stacks.
|
||||
JobQueue.getInstance().add(self.MachineNodeLoadJob(self, currently_added))
|
||||
JobQueue.getInstance().add(self._MachineNodeLoadJob(self, currently_added))
|
||||
|
||||
## Dictionary-like object that contains the machines.
|
||||
#
|
||||
|
@ -129,7 +129,7 @@ class ContainerTree:
|
|||
|
||||
## Pre-loads all currently added printers as a background task so that
|
||||
# switching printers in the interface is faster.
|
||||
class MachineNodeLoadJob(Job):
|
||||
class _MachineNodeLoadJob(Job):
|
||||
## Creates a new background task.
|
||||
# \param tree_root The container tree instance. This cannot be
|
||||
# obtained through the singleton static function since the instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue