mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed losing pasted text on cancel of send files box without caption.
This commit is contained in:
@@ -2256,7 +2256,7 @@ void SendFilesBox::requestToTakeTextWithTags() {
|
||||
return;
|
||||
}
|
||||
const auto text = _caption->getTextWithTags();
|
||||
if (!_prefilledCaptionText.text.isEmpty() && text.text.isEmpty()) {
|
||||
if (text.text.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
_textTaken = true;
|
||||
|
||||
Reference in New Issue
Block a user