mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 12:21:26 -07:00
Fix/Implement update in toolbox
This commit is contained in:
parent
8718ee34c9
commit
0f0b6a9712
5 changed files with 57 additions and 21 deletions
|
|
@ -102,4 +102,4 @@ Item
|
|||
onMetadataChanged: canUpdate = toolbox.canUpdate(model.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ Column
|
|||
font: UM.Theme.getFont("default_bold")
|
||||
}
|
||||
}
|
||||
onClicked: toolbox.update(model.id)
|
||||
onClicked: {
|
||||
// Must do all stuff in 1 function as the current ToolboxInstalledTile object is going to disappear...
|
||||
toolbox.update(model.id)
|
||||
}
|
||||
}
|
||||
ProgressBar
|
||||
{
|
||||
|
|
@ -90,4 +93,4 @@ Column
|
|||
}
|
||||
onClicked: toolbox.uninstall(model.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue