Skip to content

Commit

Permalink
Show history skill detail only when showing level
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Jun 16, 2024
1 parent 41c0d98 commit fecc1f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/historylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ void historyList::on_history_listWidget_currentRowChanged(int currentRow)
}

ui->level_label->setText(createLevelString(warp1, warp2));
if (ui->level_label->text().isEmpty()) ui->difficulty_label->clear();

if (!recordDemo_s.isEmpty()) ui->demo_label->setText(recordDemo_s);
else if (!playbackDemo_s.isEmpty()) ui->demo_label->setText(playbackDemo_t + playbackDemo_s);

Expand Down

0 comments on commit fecc1f6

Please sign in to comment.