mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix crash on topic creation.
This commit is contained in:
@@ -1455,7 +1455,7 @@ void RepliesWidget::refreshUnreadCountBadge(std::optional<int> count) {
|
||||
}
|
||||
|
||||
void RepliesWidget::updatePinnedViewer() {
|
||||
if (_scroll->isHidden() || !_topic) {
|
||||
if (_scroll->isHidden() || !_topic || !_pinnedTracker) {
|
||||
return;
|
||||
}
|
||||
const auto visibleBottom = _scroll->scrollTop() + _scroll->height();
|
||||
|
Reference in New Issue
Block a user