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

ensure new items are visible

parent e25c8b39
......@@ -249,9 +249,10 @@ void KateOutputView::slotMessage(const QVariantMap &message)
m_messagesModel.appendRow({dateTimeColumn, categoryColumn, typeColumn, bodyColumn});
/**
* expand the new thingy
* expand the new thingy and make it visible
*/
m_messagesTreeView->expand(m_proxyModel->mapFromSource(dateTimeColumn->index()));
m_messagesTreeView->scrollTo(m_proxyModel->mapFromSource(dateTimeColumn->index()));
/**
* ensure correct sizing
......
Markdown is supported
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