Fix folders visibility above passcode lock.

This commit is contained in:
John Preston 2020-04-08 18:50:28 +04:00
parent f5aba5a907
commit f370ca97d0
2 changed files with 2 additions and 0 deletions

View File

@ -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();

View File

@ -106,6 +106,7 @@ void Controller::showRightColumn(object_ptr<TWidget> widget) {
void Controller::sideBarChanged() {
_widget.setMinimumWidth(_widget.computeMinWidth());
_widget.updateControlsGeometry();
_widget.fixOrder();
}
void Controller::activate() {