mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix crash on quit from passcode with a box.
This commit is contained in:
@@ -172,7 +172,7 @@ QPixmap MainWindow::grabInner() {
|
||||
void MainWindow::setupPasscodeLock() {
|
||||
auto animated = (_main || _intro);
|
||||
auto bg = animated ? grabInner() : QPixmap();
|
||||
_passcodeLock.create(bodyWidget());
|
||||
_passcodeLock.create(bodyWidget(), &controller());
|
||||
updateControlsGeometry();
|
||||
|
||||
Core::App().hideMediaView();
|
||||
|
Reference in New Issue
Block a user