mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed render of text selection in sections.
Regression was introduced in f4fdadd3b0.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user