Fixed render of text selection in sections.

Regression was introduced in f4fdadd3b0.
This commit is contained in:
23rd 2021-08-24 20:01:34 +03:00
parent b3f8d0e81a
commit df0229cffd

View file

@ -1623,6 +1623,7 @@ void ListWidget::paintEvent(QPaintEvent *e) {
p.translate(0, top);
for (auto i = from; i != to; ++i) {
const auto view = *i;
context.selection = itemRenderSelection(view);
view->draw(p, context);
const auto height = view->height();
top += height;