mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Added warning when trying to load project with objects on buildplate
CURA-1263
This commit is contained in:
parent
5d1ba828bc
commit
a0813b3af3
3 changed files with 24 additions and 0 deletions
|
@ -284,6 +284,19 @@ UM.Dialog
|
|||
width: parent.width / 3
|
||||
}
|
||||
}
|
||||
Item // Spacer
|
||||
{
|
||||
height: spacerHeight
|
||||
width: height
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: catalog.i18nc("@action:warning", "Loading a project will clear all models on the buildplate")
|
||||
visible: manager.hasObjectsOnPlate
|
||||
color: "red"
|
||||
width: parent.width
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
}
|
||||
}
|
||||
rightButtons: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue