mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +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 (_list) {
|
||||||
if (isSearching()) {
|
if (isSearching()) {
|
||||||
_composeSearch->setInnerFocus();
|
_composeSearch->setInnerFocus();
|
||||||
} else if (_chooseTheme && _chooseTheme->shouldBeShown()) {
|
} else if (isChoosingTheme()) {
|
||||||
_chooseTheme->setFocus();
|
_chooseTheme->setFocus();
|
||||||
} else if (_showAnimation
|
} else if (_showAnimation
|
||||||
|| _nonEmptySelection
|
|| _nonEmptySelection
|
||||||
|| (_list && _list->wasSelectedText())
|
|| (_list && _list->wasSelectedText())
|
||||||
|| isRecording()
|
|| isRecording()
|
||||||
|
|| isJoinChannel()
|
||||||
|| isBotStart()
|
|| isBotStart()
|
||||||
|| isBlocked()
|
|| isBlocked()
|
||||||
|| (!_canSendTexts && !_editMsgId)) {
|
|| (!_canSendTexts && !_editMsgId)) {
|
||||||
|
|
|
@ -504,7 +504,7 @@ private:
|
||||||
int countMembersDropdownHeightMax() const;
|
int countMembersDropdownHeightMax() const;
|
||||||
|
|
||||||
void updateReplyToName();
|
void updateReplyToName();
|
||||||
bool editingMessage() const {
|
[[nodiscard]] bool editingMessage() const {
|
||||||
return _editMsgId != 0;
|
return _editMsgId != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue