Fix update song length in context

This commit is contained in:
Jonas Kvinge 2020-04-20 18:52:59 +02:00
parent 39347d69df
commit 2a6806004a
1 changed files with 1 additions and 1 deletions

View File

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