@@ -85,8 +85,8 @@ FocusScope {
8585 } else {
8686 subPageLoader.model = resultsModel;
8787 }
88− subPageLoader.currentIndex = -1;
89− subPageLoader.currentIndex = index;
88+ subPageLoader.initialIndex = -1;
89+ subPageLoader.initialIndex = index;
9090 subPageLoader.subPage = "preview";
9191 subPageLoader.openSubPage();
9292 }
@@ -466,11 +466,12 @@ FocusScope {
466466 property bool open: false
467467 property var scope: scopeView.scope
468468 property var scopeStyle: scopeView.scopeStyle
469− property int currentIndex: -1
469+ property int initialIndex: -1
470470 property var model: null
471471
472472 readonly property bool processing: status === Loader.Ready && item.hasOwnProperty("processing") ? item.processing : false
473473 readonly property int count: status === Loader.Ready && item.hasOwnProperty("count") ? item.count : 0
474+ readonly property int currentIndex: status === Loader.Ready && item.hasOwnProperty("currentIndex") ? item.currentIndex : false
474475 readonly property var currentItem: status === Loader.Ready && item.hasOwnProperty("currentItem") ? item.currentItem : false
475476
476477 property string subPage: ""
@@ -482,7 +483,7 @@ FocusScope {
482483 item.scope = Qt.binding(function() { return subPageLoader.scope } )
483484 item.scopeStyle = Qt.binding(function() { return subPageLoader.scopeStyle } )
484485 if (item.hasOwnProperty("open")) item.open = Qt.binding(function() { return subPageLoader.open } )
485− if (item.hasOwnProperty("currentIndex")) item.currentIndex = Qt.binding(function() { return subPageLoader.currentIndex } )
486+ if (item.hasOwnProperty("initialIndex")) item.initialIndex = Qt.binding(function() { return subPageLoader.initialIndex } )
486487 if (item.hasOwnProperty("model")) item.model = Qt.binding(function() { return subPageLoader.model } )
487488 }
488489 }