mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
End the wizard if we have found a network printer
CURA-7019
This commit is contained in:
parent
e7d12745e1
commit
889ed90adb
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,10 @@ Item
|
|||
// Create a network printer
|
||||
const networkPrinterItem = addNetworkPrinterDropDown.contentItem.currentItem
|
||||
CuraApplication.getDiscoveredPrintersModel().createMachineFromDiscoveredPrinter(networkPrinterItem)
|
||||
|
||||
// If we have created a machine, end the wizard (since this is the last page)
|
||||
base.endWizard()
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue