Fix the global search tooltip

This commit is contained in:
David Sansome 2011-10-01 21:25:05 +01:00
parent 292610c20b
commit 4e9f3a27db
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ void GlobalSearchWidget::SwapModels() {
qSwap(front_proxy_, back_proxy_);
view_->setModel(front_proxy_);
connect(view_->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)),
SLOT(UpdateTooltip()));
RepositionPopup();
}