mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:05:55 +08:00
Added function to catch prepare and monitor button click
CURA-4062
This commit is contained in:
parent
d2873dc65a
commit
938ae5af1d
@ -30,9 +30,11 @@ Rectangle
|
|||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
startMonitoringPrint.connect(function () {
|
startMonitoringPrint.connect(function () {
|
||||||
base.monitoringPrint = true
|
base.monitoringPrint = true
|
||||||
|
UM.Controller.disableModelRendering()
|
||||||
})
|
})
|
||||||
stopMonitoringPrint.connect(function () {
|
stopMonitoringPrint.connect(function () {
|
||||||
base.monitoringPrint = false
|
base.monitoringPrint = false
|
||||||
|
UM.Controller.enableModelRendering()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user