projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
947eabb
)
psa: Fixed article view jumping back to a previously opened article
author
Yves
<yves@marcoz.org>
Tue, 3 Jan 2012 23:12:12 +0000
(15:12 -0800)
committer
Yves
<yves@marcoz.org>
Tue, 3 Jan 2012 23:12:12 +0000
(15:12 -0800)
psa_harmattan/feedingit/qml/ArticleViewer.qml
patch
|
blob
|
history
diff --git
a/psa_harmattan/feedingit/qml/ArticleViewer.qml
b/psa_harmattan/feedingit/qml/ArticleViewer.qml
index
7e58501
..
c8e59e0
100644
(file)
--- a/
psa_harmattan/feedingit/qml/ArticleViewer.qml
+++ b/
psa_harmattan/feedingit/qml/ArticleViewer.qml
@@
-69,7
+69,7
@@
Item {
width: parent.width;
height: updateBarArticles.visible? parent.height-updateBarArticles.height : parent.height;
visible: false; z:8
width: parent.width;
height: updateBarArticles.visible? parent.height-updateBarArticles.height : parent.height;
visible: false; z:8
- //onCurrentIndexChanged: photosGridView.positionViewAtIndex(currentIndex, GridView.Contain)
+ onCurrentIndexChanged: articlesView.positionViewAtIndex(currentIndex, ListView.Contain)
highlightRangeMode: ListView.StrictlyEnforceRange; snapMode: ListView.SnapOneItem
//cacheBuffer: 5;
onMovementStarted: articleViewer.vertPanningEnabled=false;
highlightRangeMode: ListView.StrictlyEnforceRange; snapMode: ListView.SnapOneItem
//cacheBuffer: 5;
onMovementStarted: articleViewer.vertPanningEnabled=false;
@@
-165,7
+165,7
@@
Item {
font.pointSize: settings.articleListingTextSize
}
MouseArea { anchors.fill: listItem;
font.pointSize: settings.articleListingTextSize
}
MouseArea { anchors.fill: listItem;
- onClicked: { articleView.positionViewAtIndex(index, ListView.Contain); articleView.visible = true; }
+ onClicked: { articleView.currentIndex = index; articleView.visible = true; }
}
}
}
}