VariableChooser: Fix scrolling on keyboard navigation

Change-Id: Ia5cabc1d9df46129c22f9a84901632de5da3824e
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-07-06 18:03:34 +03:00
committed by Orgad Shaneh
parent 23b89f1e85
commit 6a54132ea1

View File

@@ -229,8 +229,8 @@ void VariableTreeView::contextMenuEvent(QContextMenuEvent *ev)
void VariableTreeView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
{
Q_UNUSED(previous);
m_target->updateDescription(current);
QTreeView::currentChanged(current, previous);
}
VariableChooserPrivate::VariableChooserPrivate(VariableChooser *parent)