mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-03 20:20:37 +08:00
Only associate to a Jedi if the MachineAction is currently shown
CURA-2041
This commit is contained in:
parent
d3333540de
commit
70a93ac0a2
@ -17,7 +17,14 @@ Cura.MachineAction
|
||||
{
|
||||
target: dialog ? dialog : null
|
||||
ignoreUnknownSignals: true
|
||||
onNextClicked: connectToPrinter()
|
||||
onNextClicked:
|
||||
{
|
||||
// Connect to the printer if the MachineAction is currently shown
|
||||
if(base.parent == dialog)
|
||||
{
|
||||
connectToPrinter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function connectToPrinter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user