fixed text selection

This commit is contained in:
fourtf
2018-01-16 00:26:04 +01:00
parent 1133b33318
commit a190eda075
20 changed files with 278 additions and 1052 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ void MessageLayout::paint(QPainter &painter, int y, int messageIndex, Selection
this->bufferValid = false;
}
if (!this->bufferValid) {
if (!this->bufferValid || !selection.isEmpty()) {
this->updateBuffer(pixmap, messageIndex, selection);
}