mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:35:53 +08:00
Renaming a printer in the Manage Printers dialog is now reflected in the sidebar again
Contributes to CURA-1632
This commit is contained in:
parent
29ed8c2f5b
commit
3638890138
@ -263,6 +263,7 @@ class MachineManagerModel(QObject):
|
|||||||
if containers:
|
if containers:
|
||||||
new_name = self._uniqueMachineName(new_name, containers[0].getBottom().getName())
|
new_name = self._uniqueMachineName(new_name, containers[0].getBottom().getName())
|
||||||
containers[0].setName(new_name)
|
containers[0].setName(new_name)
|
||||||
|
self.globalContainerChanged.emit()
|
||||||
|
|
||||||
@pyqtSlot(str)
|
@pyqtSlot(str)
|
||||||
def removeMachine(self, machine_id):
|
def removeMachine(self, machine_id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user