Add the maximum backups message to the backups plugin

It didn't work after previous changes, so now it will show again when the user already has 5 backups.

Contributes to CURA-6005
This commit is contained in:
Diego Prado Gesto 2019-01-16 17:33:14 +01:00
parent d9a8bb0eb7
commit c28aefac4e
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ RowLayout
id: createBackupButton
text: catalog.i18nc("@button", "Backup Now")
iconSource: UM.Theme.getIcon("plus")
enabled: !CuraDrive.isCreatingBackup && !CuraDrive.isRestoringBackup && !backupListFooter.showInfoButton
enabled: !CuraDrive.isCreatingBackup && !CuraDrive.isRestoringBackup
onClicked: CuraDrive.createBackup()
busy: CuraDrive.isCreatingBackup
}