Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
b7a81435
Commit
b7a81435
authored
Feb 27, 2021
by
Christoph Cullmann
🐮
Browse files
ensure new items are visible
parent
e25c8b39
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/kateoutputview.cpp
View file @
b7a81435
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment