mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Beta version 3.7.6: Fix Document::fullSelectionLength.
This commit is contained in:
parent
fa01a9df69
commit
7db2256f63
1 changed files with 1 additions and 1 deletions
|
@ -995,7 +995,7 @@ uint16 Document::fullSelectionLength() const {
|
||||||
if (const auto captioned = Get<HistoryDocumentCaptioned>()) {
|
if (const auto captioned = Get<HistoryDocumentCaptioned>()) {
|
||||||
result += captioned->_caption.length();
|
result += captioned->_caption.length();
|
||||||
}
|
}
|
||||||
return 0;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Document::hasTextForCopy() const {
|
bool Document::hasTextForCopy() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue