Debugger: Update scrollbar when navigating with the keyboard

Change-Id: I3b715f763cab15e4d6cf37140040e1bdf5d1eba2
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2013-08-15 22:39:39 +03:00
committed by hjk
parent 48a3a31f7c
commit 0bf0cc41ad

View File

@@ -965,9 +965,10 @@ bool WatchTreeView::event(QEvent *ev)
return BaseTreeView::event(ev);
}
void WatchTreeView::currentChanged(const QModelIndex &current, const QModelIndex &)
void WatchTreeView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
{
emit currentIndexChanged(current);
BaseTreeView::currentChanged(current, previous);
}
void WatchTreeView::editItem(const QModelIndex &idx)