Beta version 1.6.4: Fix dialogs up button glitch.

This commit is contained in:
John Preston 2019-04-05 19:52:45 +04:00
parent 467f1449ab
commit bec39d89e1
1 changed files with 3 additions and 0 deletions

View File

@ -1221,6 +1221,9 @@ void DialogsWidget::onListScroll() {
auto scrollTop = _scroll->scrollTop(); auto scrollTop = _scroll->scrollTop();
_inner->setVisibleTopBottom(scrollTop, scrollTop + _scroll->height()); _inner->setVisibleTopBottom(scrollTop, scrollTop + _scroll->height());
updateScrollUpVisibility(); updateScrollUpVisibility();
// Fix button rendering glitch, Qt bug with WA_OpaquePaintEvent widgets.
_scrollToTop->update();
} }
void DialogsWidget::applyFilterUpdate(bool force) { void DialogsWidget::applyFilterUpdate(bool force) {