mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Show error if the upload failed
Contributes to issue CURA-8609.
This commit is contained in:
parent
ffee4a2443
commit
ffd3277854
3 changed files with 23 additions and 5 deletions
|
@ -23,6 +23,7 @@ Window
|
|||
|
||||
property variant materialManagementModel
|
||||
property alias pageIndex: swipeView.currentIndex
|
||||
property alias syncStatusText: syncStatusLabel.text
|
||||
|
||||
SwipeView
|
||||
{
|
||||
|
@ -358,6 +359,19 @@ Window
|
|||
return materialManagementModel.exportUploadStatus != "uploading";
|
||||
}
|
||||
}
|
||||
Label
|
||||
{
|
||||
id: syncStatusLabel
|
||||
|
||||
anchors.right: syncButton.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
visible: syncButton.visible
|
||||
text: ""
|
||||
color: UM.Theme.getColor("text")
|
||||
font: UM.Theme.getFont("default")
|
||||
}
|
||||
Item
|
||||
{
|
||||
anchors.right: parent.right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue