Fix crash in MainWidget setup with audio player.

This commit is contained in:
John Preston
2020-06-30 19:05:12 +04:00
parent 3c028590b1
commit 7d0eb3ba8e
4 changed files with 22 additions and 7 deletions
@@ -3016,7 +3016,7 @@ void InnerWidget::setupShortcuts() {
}) | rpl::start_with_next([=](not_null<Shortcuts::Request*> request) {
using Command = Shortcuts::Command;
if (_controller->content()->selectingPeer()) {
if (_controller->selectingPeer()) {
return;
}
const auto row = _controller->activeChatEntryCurrent();