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