diff --git a/src/plugins/coreplugin/variablechooser.cpp b/src/plugins/coreplugin/variablechooser.cpp index ed0df6e10d1..123c832471e 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 ¤t, const QModelIndex &previous) { - Q_UNUSED(previous); m_target->updateDescription(current); + QTreeView::currentChanged(current, previous); } VariableChooserPrivate::VariableChooserPrivate(VariableChooser *parent)