From f370ca97d0d6a75bb58e77ee9ec399773703f73a Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 8 Apr 2020 18:50:28 +0400 Subject: [PATCH] Fix folders visibility above passcode lock. --- Telegram/SourceFiles/mainwindow.cpp | 1 + Telegram/SourceFiles/window/window_controller.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 592d4dbd1..f5192d683 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -702,6 +702,7 @@ bool MainWindow::takeThirdSectionFromLayer() { } void MainWindow::fixOrder() { + if (_passcodeLock) _passcodeLock->raise(); if (_layer) _layer->raise(); if (_mediaPreview) _mediaPreview->raise(); if (_testingThemeWarning) _testingThemeWarning->raise(); diff --git a/Telegram/SourceFiles/window/window_controller.cpp b/Telegram/SourceFiles/window/window_controller.cpp index 9fa618cf5..a89616730 100644 --- a/Telegram/SourceFiles/window/window_controller.cpp +++ b/Telegram/SourceFiles/window/window_controller.cpp @@ -106,6 +106,7 @@ void Controller::showRightColumn(object_ptr widget) { void Controller::sideBarChanged() { _widget.setMinimumWidth(_widget.computeMinWidth()); _widget.updateControlsGeometry(); + _widget.fixOrder(); } void Controller::activate() {