mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Don't allow reordering of the archive.
This commit is contained in:
@@ -184,13 +184,14 @@ DialogsWidget::DialogsWidget(QWidget *parent, not_null<Window::Controller*> cont
|
||||
});
|
||||
connect(_scroll, SIGNAL(geometryChanged()), _inner, SLOT(onParentGeometryChanged()));
|
||||
connect(_scroll, SIGNAL(scrolled()), this, SLOT(onListScroll()));
|
||||
|
||||
session().data().chatsListChanges(
|
||||
) | rpl::filter([=](Data::Folder *folder) {
|
||||
return (folder == _inner->shownFolder());
|
||||
}) | rpl::start_with_next([=] {
|
||||
_inner->refresh();
|
||||
onListScroll();
|
||||
Ui::PostponeCall(this, [=] { onListScroll(); });
|
||||
}, lifetime());
|
||||
|
||||
connect(_filter, &Ui::FlatInput::cancelled, [=] {
|
||||
onCancel();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user