2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Clear search field on archive opening.

This commit is contained in:
John Preston
2023-04-24 21:15:40 +04:00
parent b6fbdd25a0
commit 0b60985966

View File

@@ -870,6 +870,7 @@ void Widget::changeOpenedFolder(Data::Folder *folder, anim::type animated) {
return;
}
changeOpenedSubsection([&] {
cancelSearch();
closeChildList(anim::type::instant);
controller()->closeForum();
_openedFolder = folder;