Connect sync timer to sync() for consistency and add unit tests.

Also rename a function to camelCase

CURA-7473
This commit is contained in:
Nino van Hooff 2020-06-26 16:09:33 +02:00
parent 4f1a18f102
commit 294afdb7ca
3 changed files with 56 additions and 3 deletions

View file

@ -105,7 +105,7 @@ Row // Sync state icon + message
MouseArea
{
anchors.fill: parent
onClicked: Cura.API.account.update_packages()
onClicked: Cura.API.account.onUpdatePackagesClicked()
hoverEnabled: true
onEntered: updatePackagesButton.font.underline = true
onExited: updatePackagesButton.font.underline = false