CURA-4870 Don't allow to connect more than one instance to the same

group.
This commit is contained in:
Diego Prado Gesto 2018-03-15 20:01:47 +01:00
parent 222a18e698
commit 99d653cea5
3 changed files with 36 additions and 4 deletions

View file

@ -147,6 +147,10 @@ class DiscoverUM3Action(MachineAction):
return ""
@pyqtSlot(str, result = bool)
def existsKey(self, key) -> bool:
return Application.getInstance().getMachineManager().existNetworkInstances(network_key = key)
@pyqtSlot()
def loadConfigurationFromPrinter(self):
machine_manager = Application.getInstance().getMachineManager()