mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
@@ -972,10 +972,10 @@ void SendFilesBox::updateControlsGeometry() {
|
||||
}
|
||||
|
||||
void SendFilesBox::setInnerFocus() {
|
||||
if (!_caption || _caption->isHidden()) {
|
||||
setFocus();
|
||||
} else {
|
||||
if (_caption && !_caption->isHidden()) {
|
||||
_caption->setFocusFast();
|
||||
} else {
|
||||
BoxContent::setInnerFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user