forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
23b89f1e85
commit
6a54132ea1
@@ -229,8 +229,8 @@ void VariableTreeView::contextMenuEvent(QContextMenuEvent *ev)
|
||||
|
||||
void VariableTreeView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
|
||||
{
|
||||
Q_UNUSED(previous);
|
||||
m_target->updateDescription(current);
|
||||
QTreeView::currentChanged(current, previous);
|
||||
}
|
||||
|
||||
VariableChooserPrivate::VariableChooserPrivate(VariableChooser *parent)
|
||||
|
||||
Reference in New Issue
Block a user