mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix compose controls focus checks.
This commit is contained in:
parent
d938d91366
commit
f0acc9526e
1 changed files with 1 additions and 1 deletions
|
@ -1069,7 +1069,7 @@ const HistoryItemsList &ComposeControls::forwardItems() const {
|
|||
}
|
||||
|
||||
bool ComposeControls::focus() {
|
||||
if (isRecording()) {
|
||||
if (_wrap->isHidden() || _field->isHidden() || isRecording()) {
|
||||
return false;
|
||||
}
|
||||
_field->setFocus();
|
||||
|
|
Loading…
Add table
Reference in a new issue