mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Removed animation cache from dialogs widget on instant clear search.
This commit is contained in:
parent
ee6dbdced6
commit
18c1e7ac60
1 changed files with 3 additions and 0 deletions
|
@ -3265,6 +3265,9 @@ bool Widget::applySearchState(SearchState state) {
|
||||||
_openedForum && _searchState.inChat);
|
_openedForum && _searchState.inChat);
|
||||||
}
|
}
|
||||||
if (!_searchState.inChat && _searchState.query.isEmpty()) {
|
if (!_searchState.inChat && _searchState.query.isEmpty()) {
|
||||||
|
if (!_widthAnimationCache.isNull()) {
|
||||||
|
stopWidthAnimation();
|
||||||
|
}
|
||||||
setInnerFocus();
|
setInnerFocus();
|
||||||
} else if (!_subsectionTopBar) {
|
} else if (!_subsectionTopBar) {
|
||||||
_search->setFocus();
|
_search->setFocus();
|
||||||
|
|
Loading…
Add table
Reference in a new issue