update the setting table while loading ucp the seond time

CURA-11403
This commit is contained in:
Saumya Jain 2024-03-04 11:58:21 +01:00
parent 72f6540627
commit f19320cad8
3 changed files with 16 additions and 2 deletions

View file

@ -216,7 +216,6 @@ UM.Dialog
buttonText: tableViewSpecificSettings.shouldBeVisible ? catalog.i18nc("@action:button", "Hide settings") : catalog.i18nc("@action:button", "Show settings")
onButtonClicked: tableViewSpecificSettings.shouldBeVisible = !tableViewSpecificSettings.shouldBeVisible
}
Cura.TableView
{
id: tableViewSpecificSettings
@ -239,6 +238,13 @@ UM.Dialog
rows: manager.exportedSettingModel.items
}
}
property var modelRows: manager.exportedSettingModel.items
onModelRowsChanged:
{
tableModel.clear()
tableModel.rows = modelRows
}
}
comboboxVisible: manager.qualityChangesConflict