mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fix possible crash in call top bar hiding.
This commit is contained in:
@@ -2090,8 +2090,13 @@ void MainWidget::showAll() {
|
||||
}
|
||||
if (_callTopBar) {
|
||||
_callTopBar->setVisible(true);
|
||||
|
||||
// show() could've send pending resize event that would update
|
||||
// the height value and destroy the top bar if it was hiding.
|
||||
if (_callTopBar) {
|
||||
_callTopBarHeight = _callTopBar->height();
|
||||
}
|
||||
}
|
||||
updateControlsGeometry();
|
||||
floatPlayerCheckVisibility();
|
||||
|
||||
|
Reference in New Issue
Block a user