diff --git a/src/widgets/nowplayingwidget.cpp b/src/widgets/nowplayingwidget.cpp index abf47a7c1..186f4707b 100644 --- a/src/widgets/nowplayingwidget.cpp +++ b/src/widgets/nowplayingwidget.cpp @@ -164,6 +164,10 @@ void NowPlayingWidget::CoverLoaderInitialised() { } void NowPlayingWidget::UpdateHeight(AlbumCoverLoader* loader) { + if (!loader) { + return; + } + switch (mode_) { case SmallSongDetails: cover_height_ = small_ideal_height_;