2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Fix crash in closing export panel.

This commit is contained in:
John Preston
2019-06-24 10:59:21 +02:00
parent e5cfa3fdc9
commit 9c85d58235
3 changed files with 12 additions and 7 deletions

View File

@@ -397,7 +397,7 @@ void LayerStackWidget::hideCurrent(anim::type animated) {
}
void LayerStackWidget::hideLayers(anim::type animated) {
startAnimation([] {}, [this] {
startAnimation([] {}, [&] {
clearLayers();
}, Action::HideLayer, animated);
}