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:
@@ -397,7 +397,7 @@ void LayerStackWidget::hideCurrent(anim::type animated) {
|
||||
}
|
||||
|
||||
void LayerStackWidget::hideLayers(anim::type animated) {
|
||||
startAnimation([] {}, [this] {
|
||||
startAnimation([] {}, [&] {
|
||||
clearLayers();
|
||||
}, Action::HideLayer, animated);
|
||||
}
|
||||
|
Reference in New Issue
Block a user