mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
CURA-4870 Update the selected configuration in the UI when the
configuration in the printer changes. Modify again the hash function.
This commit is contained in:
parent
d83eb383d9
commit
d02d845d1b
4 changed files with 14 additions and 9 deletions
|
@ -46,6 +46,7 @@ Column
|
|||
target: outputDevice
|
||||
onUniqueConfigurationsChanged: {
|
||||
// FIXME For now the model should be removed and then created again, otherwise changes in the printer don't automatically update the UI
|
||||
print("Update unique configurations")
|
||||
configurationList.model = null
|
||||
configurationList.model = outputDevice.uniqueConfigurations
|
||||
}
|
||||
|
@ -63,7 +64,7 @@ Column
|
|||
{
|
||||
width: parent.width
|
||||
configuration: modelData
|
||||
onConfigurationSelected:
|
||||
onActivateConfiguration:
|
||||
{
|
||||
print("SELECCIONANDO CONFIGURACION", JSON.stringify(configuration))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue