mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4870 Create an extruder configuration model to store the extruder configuration.
Connect the signals coming from the printer to correctly update the UI
This commit is contained in:
parent
a992487589
commit
51686943e6
6 changed files with 82 additions and 17 deletions
|
|
@ -42,6 +42,15 @@ Column
|
|||
font: UM.Theme.getFont("default_bold")
|
||||
}
|
||||
|
||||
Connections {
|
||||
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
|
||||
configurationList.model = null
|
||||
configurationList.model = outputDevice.uniqueConfigurations
|
||||
}
|
||||
}
|
||||
|
||||
ListView
|
||||
{
|
||||
id: configurationList
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue