mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Determine readonly state from location in filesystem instead of a metadata property
CURA-1684
This commit is contained in:
parent
5da3665832
commit
cd803bc36e
43 changed files with 9 additions and 48 deletions
|
@ -65,8 +65,8 @@ UM.ManagementPage
|
|||
|
||||
activateEnabled: currentItem != null ? currentItem.id != Cura.MachineManager.activeQualityId : false;
|
||||
addEnabled: currentItem != null;
|
||||
removeEnabled: currentItem != null ? !currentItem.metadata.read_only : false;
|
||||
renameEnabled: currentItem != null ? !currentItem.metadata.read_only : false;
|
||||
removeEnabled: currentItem != null ? !currentItem.readOnly : false;
|
||||
renameEnabled: currentItem != null ? !currentItem.readOnly : false;
|
||||
|
||||
scrollviewCaption: catalog.i18nc("@label %1 is printer name","Printer: %1").arg(Cura.MachineManager.activeMachineName)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue