Bugfix: Fixed a crash when clicking More messages below button in a usercard and closing it quickly. (#4933)

This commit is contained in:
Mm2PL
2023-11-02 13:12:52 +01:00
committed by GitHub
parent 56346874e1
commit 03b32bffc8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ void ChannelView::initializeLayout()
QObject::connect(
this->goToBottom_, &EffectLabel::leftClicked, this, [this] {
QTimer::singleShot(180, [this] {
QTimer::singleShot(180, this, [this] {
this->scrollBar_->scrollToBottom(
getSettings()->enableSmoothScrollingNewMessages.getValue());
});