mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:35:53 +08:00
Added id to the profile page in preferences to identify custom profiles
This commit is contained in:
parent
602258bb4a
commit
f4c00c460d
@ -420,6 +420,9 @@ Item
|
|||||||
width: profileScrollView.width
|
width: profileScrollView.width
|
||||||
height: childrenRect.height
|
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
|
property bool isCurrentItem: ListView.isCurrentItem
|
||||||
color: isCurrentItem ? palette.highlight : (model.index % 2) ? palette.base : palette.alternateBase
|
color: isCurrentItem ? palette.highlight : (model.index % 2) ? palette.base : palette.alternateBase
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user