projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e21f5bc
)
Added scrollToTop call to RoutingPanel lists when list is populated.
author
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 13:13:44 +0000
(16:13 +0300)
committer
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 13:13:44 +0000
(16:13 +0300)
src/ui/routingpanel.cpp
patch
|
blob
|
history
diff --git
a/src/ui/routingpanel.cpp
b/src/ui/routingpanel.cpp
index
eca995f
..
089a917
100644
(file)
--- a/
src/ui/routingpanel.cpp
+++ b/
src/ui/routingpanel.cpp
@@
-103,6
+103,8
@@
void RoutingPanel::populateLocationListView(const QList<Location> &locations)
if (item)
m_locationListView->setSelectedItem(item);
}
+
+ m_locationListView->scrollToTop();
}
void RoutingPanel::routeToSelectedLocation()
@@
-138,4
+140,6
@@
void RoutingPanel::setRoute(Route &route)
m_routeWaypointListView->addListItem(QString::number(i), item);
}
+
+ m_routeWaypointListView->scrollToTop();
}