diff options
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/msglog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp index 6d119f616a..1fba3ccc7f 100644 --- a/src/core/stdmsg/src/msglog.cpp +++ b/src/core/stdmsg/src/msglog.cpp @@ -449,7 +449,6 @@ void CSrmmWindow::StreamInEvents(MEVENT hDbEventFirst, int count, bool bAppend) if (bottomScroll) {
sel.cpMin = sel.cpMax = -1;
m_log.SendMsg(EM_EXSETSEL, 0, (LPARAM)&sel);
- ScrollToBottom();
}
else {
m_log.SendMsg(EM_EXSETSEL, 0, (LPARAM)&oldSel);
@@ -478,8 +477,10 @@ void CSrmmWindow::StreamInEvents(MEVENT hDbEventFirst, int count, bool bAppend) }
m_log.SendMsg(WM_SETREDRAW, TRUE, 0);
- if (bottomScroll)
+ if (bottomScroll) {
+ ScrollToBottom();
RedrawWindow(m_log.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE | RDW_UPDATENOW);
+ }
m_hDbEventLast = streamData.hDbEventLast;
}
|