mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Ignore filter switching in separate window archive.
This commit is contained in:
parent
9ef74c510c
commit
179e81478e
1 changed files with 3 additions and 0 deletions
|
@ -3690,6 +3690,9 @@ bool InnerWidget::chooseCollapsedRow(Qt::KeyboardModifiers modifiers) {
|
|||
}
|
||||
|
||||
void InnerWidget::switchToFilter(FilterId filterId) {
|
||||
if (_controller->windowId().type != Window::SeparateType::Primary) {
|
||||
return;
|
||||
}
|
||||
const auto &list = session().data().chatsFilters().list();
|
||||
const auto filterIt = filterId
|
||||
? ranges::find(list, filterId, &Data::ChatFilter::id)
|
||||
|
|
Loading…
Add table
Reference in a new issue