summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-28 15:24:55 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-28 15:24:55 +0300
commit67608d2587ba849bd1bb6be346efd82794197acb (patch)
tree6ef2db246e944bf607c21ef85ad8534c4a4f7d88 /src
parent74ebc22e8446a218035cfde0fc6e147b353d8e28 (diff)
fixes #3753 (Scriver: не видны последние сообщения)
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp5
-rw-r--r--src/mir_app/src/srmm_base.cpp3
2 files changed, 2 insertions, 6 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index d5a9b8b861..f8c4664730 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -1149,10 +1149,7 @@ void CMsgDialog::OnOptionsApplied()
m_pLog->Clear();
FixTabIcons();
- if (isChat())
- RedrawLog();
- else
- RemakeLog();
+ ScheduleRedrawLog();
}
void CMsgDialog::onSplitterX(CSplitter *pSplitter)
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index d8572c2700..bbd9f4d14b 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -657,7 +657,6 @@ void CSrmmBaseDialog::UpdateChatOptions()
EnableWindow(m_btnChannelMgr.GetHwnd(), mi->bChanMgr);
Resize();
- RedrawLog();
}
void CSrmmBaseDialog::SetMessageText(const wchar_t *pwszText, bool bAppend)
@@ -695,7 +694,7 @@ void CSrmmBaseDialog::OnRedrawTimer(CTimer *pTimer)
void CSrmmBaseDialog::ScheduleRedrawLog()
{
- timerRedraw.Start(100);
+ timerRedraw.Start(20);
}
/////////////////////////////////////////////////////////////////////////////////////////