on xenial help sign in
revert rev 505 as ListView.isCurrentItem doesn't work indeed in this case
65e27d3Michael Zanetti
Dash/DashPreview.qml+1−1
@@ -25,7 +25,7 @@ Item {
25 property alias showProcessingAction: waitingForActionMouseArea.enabled
25 property alias showProcessingAction: waitingForActionMouseArea.enabled
26
26
27 property real previewWidthRatio: 0.5
27 property real previewWidthRatio: 0.5
28− property bool isCurrent: ListView.isCurrentItem
28+ property bool isCurrent: false
29
29
30 property Component previewImages
30 property Component previewImages
31 property Component header
31 property Component header
Dash/GenericScopeView.qml+6
@@ -485,6 +485,12 @@ ScopeView {
485 }
485 }
486 }
486 }
487
487
488+ Binding {
489+ target: item
490+ property: "isCurrent"
491+ value: previewListView.currentIndex == index
492+ }
493+
488 function closePreviewSpinner() {
494 function closePreviewSpinner() {
489 if(item) {
495 if(item) {
490 item.showProcessingAction = false;
496 item.showProcessingAction = false;