mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 23:35:07 -06:00
Added function to catch prepare and monitor button click
CURA-4062
This commit is contained in:
parent
d2873dc65a
commit
938ae5af1d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue