Rename function name to be more clear to what it does.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-26 10:51:08 +01:00
parent 63fab9f038
commit fa1ef5c45c

View file

@ -20,7 +20,7 @@ Button
property var outputDevice: null
property var printerTypesList: []
function setPrinterTypesList()
function updatePrinterTypesList()
{
printerTypesList = (checked && (outputDevice != null)) ? outputDevice.uniquePrinterTypes : []
}
@ -97,14 +97,14 @@ Button
Connections
{
target: outputDevice
onUniqueConfigurationsChanged: setPrinterTypesList()
onUniqueConfigurationsChanged: updatePrinterTypesList()
}
Connections
{
target: Cura.MachineManager
onOutputDevicesChanged: setPrinterTypesList()
onOutputDevicesChanged: updatePrinterTypesList()
}
Component.onCompleted: setPrinterTypesList()
Component.onCompleted: updatePrinterTypesList()
}