mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +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