End the wizard if we have found a network printer

CURA-7019
This commit is contained in:
Kostas Karmas 2020-04-23 17:27:30 +02:00
parent e7d12745e1
commit 889ed90adb

View File

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