mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 08:44:25 +08:00
Fix of crash caused by merge
This commit is contained in:
parent
7d2eb5468c
commit
b16933d68f
@ -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…
x
Reference in New Issue
Block a user