mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix compose controls focus checks.
This commit is contained in:
@@ -1069,7 +1069,7 @@ const HistoryItemsList &ComposeControls::forwardItems() const {
|
||||
}
|
||||
|
||||
bool ComposeControls::focus() {
|
||||
if (isRecording()) {
|
||||
if (_wrap->isHidden() || _field->isHidden() || isRecording()) {
|
||||
return false;
|
||||
}
|
||||
_field->setFocus();
|
||||
|
||||
Reference in New Issue
Block a user