Renaming a printer in the Manage Printers dialog is now reflected in the sidebar again

Contributes to CURA-1632
This commit is contained in:
fieldOfView 2016-05-31 15:26:38 +02:00
parent 29ed8c2f5b
commit 3638890138

View file

@ -263,6 +263,7 @@ class MachineManagerModel(QObject):
if containers:
new_name = self._uniqueMachineName(new_name, containers[0].getBottom().getName())
containers[0].setName(new_name)
self.globalContainerChanged.emit()
@pyqtSlot(str)
def removeMachine(self, machine_id):