mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Fixed search shortcut in section for comments.
This commit is contained in:
parent
c08266f81b
commit
17cdc2b585
1 changed files with 2 additions and 3 deletions
|
@ -2803,8 +2803,7 @@ void RepliesWidget::setupDragArea() {
|
|||
void RepliesWidget::setupShortcuts() {
|
||||
Shortcuts::Requests(
|
||||
) | rpl::filter([=] {
|
||||
return _topic
|
||||
&& Ui::AppInFocus()
|
||||
return Ui::AppInFocus()
|
||||
&& Ui::InFocusChain(this)
|
||||
&& !controller()->isLayerShown()
|
||||
&& (Core::App().activeWindow() == &controller()->window());
|
||||
|
@ -2831,7 +2830,7 @@ void RepliesWidget::searchInTopic() {
|
|||
}
|
||||
updateControlsGeometry();
|
||||
};
|
||||
const auto from = (PeerData*)nullptr;
|
||||
const auto from = (PeerData*)(nullptr);
|
||||
_composeSearch = std::make_unique<HistoryView::ComposeSearch>(
|
||||
this,
|
||||
controller(),
|
||||
|
|
Loading…
Add table
Reference in a new issue