aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-07-06 18:03:34 +0300
committerOrgad Shaneh <orgads@gmail.com>2015-07-07 05:20:33 +0000
commit6a54132ea1e83d1b5283fd91341ff9b1eec7bf15 (patch)
treeb7ab42c12de5f958ea6bcc8161b150fe63ac2d37
parent23b89f1e8585291caaadc13a2482f8a1d0a11b6c (diff)
VariableChooser: Fix scrolling on keyboard navigation
Change-Id: Ia5cabc1d9df46129c22f9a84901632de5da3824e Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r--src/plugins/coreplugin/variablechooser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/variablechooser.cpp b/src/plugins/coreplugin/variablechooser.cpp
index ed0df6e10d..123c832471 100644
--- a/src/plugins/coreplugin/variablechooser.cpp
+++ b/src/plugins/coreplugin/variablechooser.cpp
@@ -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)