mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #5720 from Ultimaker/add_id_for_custom_profiles
Added id to the profile page in preferences to identify custom profiles
This commit is contained in:
commit
f0ccb2504f
1 changed files with 3 additions and 0 deletions
|
@ -420,6 +420,9 @@ Item
|
|||
width: profileScrollView.width
|
||||
height: childrenRect.height
|
||||
|
||||
// Added this property to identify custom profiles in automated system tests (Squish)
|
||||
property bool isReadOnly: model.is_read_only
|
||||
|
||||
property bool isCurrentItem: ListView.isCurrentItem
|
||||
color: isCurrentItem ? palette.highlight : (model.index % 2) ? palette.base : palette.alternateBase
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue