Cleanup and simplify toolbox plugin update

This commit is contained in:
Jack Ha 2018-05-14 16:11:44 +02:00
parent 0f0b6a9712
commit 1f088aabc4
3 changed files with 10 additions and 20 deletions

View file

@ -37,10 +37,7 @@ Column
font: UM.Theme.getFont("default_bold")
}
}
onClicked: {
// Must do all stuff in 1 function as the current ToolboxInstalledTile object is going to disappear...
toolbox.update(model.id)
}
onClicked: toolbox.update(model.id)
}
ProgressBar
{