mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix possible crash.
This commit is contained in:
parent
f8963d7e4b
commit
80bb6b65a7
1 changed files with 1 additions and 0 deletions
|
@ -463,6 +463,7 @@ void MainWindow::ui_showBox(
|
|||
if (_layerBg) {
|
||||
_layerBg->hideTopLayer(animated);
|
||||
if ((animated == anim::type::instant)
|
||||
&& _layerBg
|
||||
&& !_layerBg->layerShown()) {
|
||||
destroyLayerDelayed();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue