Skip to content

Commit

Permalink
Add visible score to test bench
Browse files Browse the repository at this point in the history
  • Loading branch information
MituuZ committed Feb 9, 2024
1 parent 79bebcd commit 4cd3144
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class TestBenchComponent : JPanel() {
}
val sortedList = listModel.elements().toList().sortedByDescending { it.score }
val valModel = DefaultListModel<String>()
sortedList.forEach { valModel.addElement(it.string) }
sortedList.forEach { valModel.addElement("${it.string} (${it.score})") }

SwingUtilities.invokeLater {
fileList.model = valModel
Expand Down

0 comments on commit 4cd3144

Please sign in to comment.