Browse Source

Added id to the profile page in preferences to identify custom profiles

Satish 5 years ago
parent
commit
f4c00c460d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/qml/Preferences/ProfilesPage.qml

+ 3 - 0
resources/qml/Preferences/ProfilesPage.qml

@@ -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