mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
parent
dd57ad567f
commit
e8f16840de
2 changed files with 3 additions and 2 deletions
|
@ -1855,12 +1855,13 @@ void HistoryWidget::setInnerFocus() {
|
|||
if (_list) {
|
||||
if (isSearching()) {
|
||||
_composeSearch->setInnerFocus();
|
||||
} else if (_chooseTheme && _chooseTheme->shouldBeShown()) {
|
||||
} else if (isChoosingTheme()) {
|
||||
_chooseTheme->setFocus();
|
||||
} else if (_showAnimation
|
||||
|| _nonEmptySelection
|
||||
|| (_list && _list->wasSelectedText())
|
||||
|| isRecording()
|
||||
|| isJoinChannel()
|
||||
|| isBotStart()
|
||||
|| isBlocked()
|
||||
|| (!_canSendTexts && !_editMsgId)) {
|
||||
|
|
|
@ -504,7 +504,7 @@ private:
|
|||
int countMembersDropdownHeightMax() const;
|
||||
|
||||
void updateReplyToName();
|
||||
bool editingMessage() const {
|
||||
[[nodiscard]] bool editingMessage() const {
|
||||
return _editMsgId != 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue