Inspector: Set the context of console

The current selected item in the inspector view
is set as the context of the console.

Task-number: QTCREATORBUG-7439

Change-Id: Ibc980218751ce4afacf714cf1ab34f0a36550b2c
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Aurindam Jana
2012-10-05 13:42:14 +02:00
parent c90e1267c8
commit c2c58fecd7
9 changed files with 58 additions and 13 deletions

View File

@@ -972,6 +972,11 @@ bool WatchTreeView::event(QEvent *ev)
return BaseTreeView::event(ev);
}
void WatchTreeView::currentChanged(const QModelIndex &current, const QModelIndex &)
{
emit currentIndexChanged(current);
}
void WatchTreeView::editItem(const QModelIndex &idx)
{
Q_UNUSED(idx) // FIXME