mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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