From 2a6806004a66ea078794cbe9aa99b362d9d2964e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge <jonas@jkvinge.net> Date: Mon, 20 Apr 2020 18:52:59 +0200 Subject: [PATCH] Fix update song length in context --- src/context/contextview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/contextview.cpp b/src/context/contextview.cpp index ef2fdfdc8..d2284633f 100644 --- a/src/context/contextview.cpp +++ b/src/context/contextview.cpp @@ -597,7 +597,7 @@ void ContextView::UpdateSong(const Song &song) { if (action_show_data_->isChecked()) { if (song.filetype() != song_playing_.filetype()) label_filetype_->setText(song.TextForFiletype()); if (song.length_nanosec() != song_playing_.length_nanosec()){ - if (song_playing_.length_nanosec() <= 0) { + if (song.length_nanosec() <= 0) { label_length_title_->hide(); label_length_->hide(); label_length_->clear();