mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix of crash caused by merge
This commit is contained in:
parent
7d2eb5468c
commit
b16933d68f
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
@pyqtSlot(str, result = "QVariant")
|
||||
def getSettingValue(self, key):
|
||||
if not self.getActiveMachine():
|
||||
if not self.getMachineManager().getActiveMachineInstance():
|
||||
return None
|
||||
|
||||
return self.getActiveMachine().getSettingValueByKey(key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue