mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 23:53:56 -06: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
1 changed files with 0 additions and 14 deletions
|
@ -14,20 +14,6 @@ Cura.MachineAction
|
||||||
property var selectedDevice: null
|
property var selectedDevice: null
|
||||||
property bool completeProperties: true
|
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()
|
function connectToPrinter()
|
||||||
{
|
{
|
||||||
if(base.selectedDevice && base.completeProperties)
|
if(base.selectedDevice && base.completeProperties)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue