mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:58:59 +08:00
CURA-5445 Remove the action when the Finish button is clicked. The
button will just close the dialog.
This commit is contained in:
parent
343c606df6
commit
ece2729744
@ -14,20 +14,6 @@ Cura.MachineAction
|
||||
property var selectedDevice: null
|
||||
property bool completeProperties: true
|
||||
|
||||
Connections
|
||||
{
|
||||
target: dialog ? dialog : null
|
||||
ignoreUnknownSignals: true
|
||||
onNextClicked:
|
||||
{
|
||||
// Connect to the printer if the MachineAction is currently shown
|
||||
if(base.parent.wizard == dialog)
|
||||
{
|
||||
connectToPrinter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function connectToPrinter()
|
||||
{
|
||||
if(base.selectedDevice && base.completeProperties)
|
||||
|
Loading…
x
Reference in New Issue
Block a user