mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Fix the using of protected property in CustomQualityProfilesModel
This commit is contained in:
parent
50c61c9934
commit
154d104f95
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class CustomQualityProfilesModel(QualityProfilesModel):
|
|||
def _update(self):
|
||||
Logger.log("d", "Updating %s ...", self.__class__.__name__)
|
||||
|
||||
active_global_stack = Application.getInstance().getMachineManager()._global_container_stack
|
||||
active_global_stack = Application.getInstance().getMachineManager().activeMachine
|
||||
if active_global_stack is None:
|
||||
self.setItems([])
|
||||
Logger.log("d", "No active GlobalStack, set %s as empty.", self.__class__.__name__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue