--- a/src/hbwidgets/itemviews/hbabstractitemview_p.cpp Thu May 27 13:10:59 2010 +0300
+++ b/src/hbwidgets/itemviews/hbabstractitemview_p.cpp Fri Jun 11 13:58:22 2010 +0300
@@ -390,6 +390,7 @@
mPreviousSelectedIndex = itemIndex;
mPreviousSelectedCommand = command;
mSelectionModel->select(itemIndex, command);
+ HbWidgetFeedback::triggered(q, Hb::InstantSelectionChanged, Hb::ModifierScrolling);
}
// check if we need to start or keep on scrolling
@@ -508,13 +509,7 @@
QModelIndex lastVisibleModelIndex;
mContainer->firstAndLastVisibleModelIndex(firstVisibleModelIndex, lastVisibleModelIndex);
- if (mModelIterator->model()) {
- if (lastVisibleModelIndex == mModelIterator->index(mModelIterator->indexCount() - 1)) {
- mVisibleIndex = lastVisibleModelIndex;
- } else {
- mVisibleIndex = firstVisibleModelIndex;
- }
- }
+ mVisibleIndex = firstVisibleModelIndex;
}
/*!