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:
Diego Prado Gesto 2018-03-06 09:24:42 +01:00
parent d83eb383d9
commit d02d845d1b
4 changed files with 14 additions and 9 deletions

View file

@ -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))
}