mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue