mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Rename function name to be more clear to what it does.
Contributes to CURA-5942.
This commit is contained in:
parent
63fab9f038
commit
fa1ef5c45c
1 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue