@@ -65,20 +65,20 @@ QtObject {
6565 readonly property QtObject anchorNodePropertyMapper: null
6666 readonly property QtObject clipPropertyMapper: ClipPropertyMapper {
6767 selectionModel: d .addOn ? .windowHandle .projectDocumentContext .document .selectionModel ?? null
68- readonly property bool inactive: ! (selectionModel ? . selectionType in [1 , 2 , 4 ]) || ! selectionModel? .selectionCount
68+ readonly property bool inactive: ! [1 , 2 , 4 ]. includes (selectionModel ? . selectionType ) || ! selectionModel? .selectedCount
6969 }
7070 readonly property QtObject labelPropertyMapper: LabelPropertyMapper {
7171 selectionModel: d .addOn ? .windowHandle .projectDocumentContext .document .selectionModel ?? null
72- readonly property bool inactive: ! ( selectionModel? .selectionType === 3 ) || ! selectionModel? .selectionCount
72+ readonly property bool inactive: selectionModel? .selectionType !== 3 || ! selectionModel? .selectedCount
7373 }
7474 readonly property QtObject notePropertyMapper: null
7575 readonly property QtObject tempoPropertyMapper: TempoPropertyMapper {
7676 selectionModel: d .addOn ? .windowHandle .projectDocumentContext .document .selectionModel ?? null
77- readonly property bool inactive: ! ( selectionModel? .selectionType === 5 ) || ! selectionModel? .selectionCount
77+ readonly property bool inactive: selectionModel? .selectionType !== 5 || ! selectionModel? .selectedCount
7878 }
7979 readonly property QtObject trackPropertyMapper: TrackPropertyMapper {
8080 selectionModel: d .addOn ? .windowHandle .projectDocumentContext .document .selectionModel ?? null
81- readonly property bool inactive: ! (selectionModel ? . selectionType in [1 , 2 , 4 , 6 ]) || ! selectionModel? .selectionCount
81+ readonly property bool inactive: ! [1 , 2 , 4 , 6 ]. includes (selectionModel ? . selectionType ) || ! selectionModel? .selectedCount
8282 }
8383 }
8484 StackLayout {
0 commit comments