mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 07:17:52 -06:00
Fixes namechanges caused by api change
This commit is contained in:
parent
0daf2301a7
commit
a9208ccf3f
2 changed files with 3 additions and 3 deletions
|
@ -400,7 +400,7 @@ class CuraApplication(QtApplication):
|
|||
def getSettingValue(self, key):
|
||||
if not self.getMachineManager().getActiveProfile():
|
||||
return None
|
||||
return self.getMachineManager().getActiveProfile().getSettingValueByKey(key)
|
||||
return self.getMachineManager().getActiveProfile().getSettingValue(key)
|
||||
#return self.getActiveMachine().getSettingValueByKey(key)
|
||||
|
||||
## Change setting by key value pair
|
||||
|
@ -409,7 +409,7 @@ class CuraApplication(QtApplication):
|
|||
if not self.getMachineManager().getActiveProfile():
|
||||
return
|
||||
|
||||
self.getMachineManager().getActiveProfile().getSettingValueByKey(key, value)
|
||||
self.getMachineManager().getActiveProfile().setSettingValue(key, value)
|
||||
|
||||
@pyqtSlot()
|
||||
def mergeSelected(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue