Fix as suggested

Co-Authored-By: 23rd <23rd@vivaldi.net>
This commit is contained in:
Anton Afanasyev 2020-01-13 17:43:37 +03:00 committed by John Preston
parent 3bc58fb690
commit 00e601296c
1 changed files with 1 additions and 1 deletions

View File

@ -2957,7 +2957,7 @@ void InnerWidget::setupShortcuts() {
const auto folder = session().data().folderLoaded( const auto folder = session().data().folderLoaded(
Data::Folder::kId); Data::Folder::kId);
if (folder && !folder->chatsList()->empty()) { if (folder && !folder->chatsList()->empty()) {
App::wnd()->sessionController()->openFolder(folder); _controller->openFolder(folder);
Ui::hideSettingsAndLayer(); Ui::hideSettingsAndLayer();
return true; return true;
} }