diff --git a/tabbox/declarative.cpp b/tabbox/declarative.cpp index 5f5a59d050..17a19499b2 100644 --- a/tabbox/declarative.cpp +++ b/tabbox/declarative.cpp @@ -287,6 +287,7 @@ void DeclarativeView::setCurrentIndex(const QModelIndex &index) void DeclarativeView::currentIndexChanged(int row) { tabBox->setCurrentIndex(m_model->index(row, 0)); + KWindowSystem::forceActiveWindow(m_model->data(m_model->index(row, 0), ClientModel::WIdRole).toLongLong()); } void DeclarativeView::updateQmlSource(bool force)