mirror of https://github.com/procxx/kepka.git
Scroll to top of the filter on second click.
This commit is contained in:
parent
7ea364e611
commit
c5b8ddabac
|
@ -2568,6 +2568,7 @@ void InnerWidget::switchToFilter(FilterId filterId) {
|
|||
filterId = 0;
|
||||
}
|
||||
if (_filterId == filterId) {
|
||||
emit mustScrollTo(0, 0);
|
||||
return;
|
||||
}
|
||||
if (_openedFolder) {
|
||||
|
|
|
@ -781,7 +781,7 @@ FilterId SessionController::activeChatsFilterCurrent() const {
|
|||
}
|
||||
|
||||
void SessionController::setActiveChatsFilter(FilterId id) {
|
||||
_activeChatsFilter = id;
|
||||
_activeChatsFilter.force_assign(id);
|
||||
if (id) {
|
||||
closeFolder();
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2888aabf28bf9ca89f3d6d67a523bc5f2ce802ce
|
||||
Subproject commit 9f3bb0e2a97f9f31b4f2e5d655ad0395c4249e1c
|
Loading…
Reference in New Issue