Merge branch 'master' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2020-04-29 13:51:35 +02:00
commit 481da09975
No known key found for this signature in database
GPG Key ID: 3710727397403C91
2 changed files with 7 additions and 5 deletions

View File

@ -113,14 +113,14 @@ UM.Dialog
TableViewColumn TableViewColumn
{ {
role: "original_value" role: "original_value"
title: catalog.i18nc("@title:column", "Default") title: Cura.MachineManager.activeQualityDisplayNameMap["main"]
width: (tableView.width * 0.3) | 0 width: (tableView.width * 0.3) | 0
delegate: defaultDelegate delegate: defaultDelegate
} }
TableViewColumn TableViewColumn
{ {
role: "user_value" role: "user_value"
title: catalog.i18nc("@title:column", "Customized") title: catalog.i18nc("@title:column", "Current changes")
width: (tableView.width * 0.3) | 0 width: (tableView.width * 0.3) | 0
} }
section.property: "category" section.property: "category"
@ -192,7 +192,7 @@ UM.Dialog
Button Button
{ {
id: discardButton id: discardButton
text: catalog.i18nc("@action:button", "Discard"); text: catalog.i18nc("@action:button", "Discard changes");
anchors.right: parent.right anchors.right: parent.right
onClicked: onClicked:
{ {
@ -205,7 +205,7 @@ UM.Dialog
Button Button
{ {
id: keepButton id: keepButton
text: catalog.i18nc("@action:button", "Keep"); text: catalog.i18nc("@action:button", "Keep changes");
anchors.right: discardButton.left anchors.right: discardButton.left
anchors.rightMargin: UM.Theme.getSize("default_margin").width anchors.rightMargin: UM.Theme.getSize("default_margin").width
onClicked: onClicked:

View File

@ -16,8 +16,10 @@ Item
UM.I18nCatalog { id: catalog; name: "cura" } UM.I18nCatalog { id: catalog; name: "cura" }
property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected
signal cloudPrintersDetected(bool newCloudPrintersDetected)
onNewCloudPrintersDetectedChanged: Component.onCompleted: Cura.API.account.cloudPrintersDetectedChanged.connect(cloudPrintersDetected)
onCloudPrintersDetected:
{ {
// When the user signs in successfully, it will be checked whether he/she has cloud printers connected to // When the user signs in successfully, it will be checked whether he/she has cloud printers connected to
// the account. If he/she does, then the welcome wizard can close. If not, then proceed to the next page (if any) // the account. If he/she does, then the welcome wizard can close. If not, then proceed to the next page (if any)