Commit c46ea5bc authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix document switching by clicking

one need to select the full row

BUG: 455023
parent 940a9b82
Pipeline #201528 passed with stage
in 7 minutes and 46 seconds
......@@ -237,7 +237,7 @@ void TabSwitcherPluginView::updateViewGeometry()
void TabSwitcherPluginView::switchToClicked(const QModelIndex &index)
{
m_treeView->selectionModel()->select(index, QItemSelectionModel::ClearAndSelect);
m_treeView->selectionModel()->select(index, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
activateView(index);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment