mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-26 15:31:58 +08:00
CURA-4870 Disable rename button in MachinesPage when the selected item
is a network printer since the name is the name of the host printer (or group)
This commit is contained in:
parent
fa2b5f141c
commit
d807ce57a5
@ -54,7 +54,7 @@ UM.ManagementPage
|
|||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Rename");
|
text: catalog.i18nc("@action:button", "Rename");
|
||||||
iconName: "edit-rename";
|
iconName: "edit-rename";
|
||||||
enabled: base.currentItem != null
|
enabled: base.currentItem != null && base.currentItem.metadata.connect_group_name == null
|
||||||
onClicked: renameDialog.open();
|
onClicked: renameDialog.open();
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user