mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 21:25:57 +08:00
Do not require loaded view in PrevieStage to have a safeArea
CURA-6853
This commit is contained in:
parent
3491900bf1
commit
8198762755
@ -29,11 +29,10 @@ Item
|
||||
|
||||
source: UM.Controller.activeView != null && UM.Controller.activeView.mainComponent != null ? UM.Controller.activeView.mainComponent : ""
|
||||
|
||||
Binding
|
||||
{
|
||||
target: previewMain.item
|
||||
property: "safeArea"
|
||||
value:safeArea
|
||||
onLoaded: {
|
||||
if (previewMain.item.safeArea !== undefined){
|
||||
previewMain.item.safeArea = Qt.binding(function() { return safeArea });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user