Browse Source

CURA-5445 Remove the action when the Finish button is clicked. The
button will just close the dialog.

Diego Prado Gesto 6 years ago
parent
commit
ece2729744
1 changed files with 0 additions and 14 deletions
  1. 0 14
      plugins/UM3NetworkPrinting/DiscoverUM3Action.qml

+ 0 - 14
plugins/UM3NetworkPrinting/DiscoverUM3Action.qml

@@ -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)