Skip to content

Commit

Permalink
merged master into branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkhi committed Jan 23, 2025
1 parent 8fe4236 commit 9a4a563
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ object CsvValidatorUi extends SimpleSwingApplication {
updateLastPath(reportFileChooser, path => Settings(path, path, path))
}

private val lblVersion = new Label(s"Version: $getShortVersion")
private val lblVersion = new Label(s"Version: ${getShortVersion}")
lblVersion.listenTo(lblVersion.mouse.clicks)
lblVersion.font = lblVersion.font.deriveFont(9)
lblVersion.reactions += onClick {
Dialog.showMessage(this, getLongVersion.map(x => s"${x._1}: ${x._2}").mkString(java.lang.System.lineSeparator()), "Version Details")
Dialog.showMessage(this, getLongVersion.map(x => s"${x._1}: ${x._2}").mkString(System.getProperty("line.separator")), "Version Details")
}

layout.row.grid(lblCsvFile).add(txtCsvFile, 5).add(btnChooseCsvFile)
Expand Down

0 comments on commit 9a4a563

Please sign in to comment.