Fix/Implement update in toolbox

This commit is contained in:
Jack Ha 2018-05-14 16:01:59 +02:00
parent 8718ee34c9
commit 0f0b6a9712
5 changed files with 57 additions and 21 deletions

View file

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