Skip to content

Commit

Permalink
fix: Disabled mnemonic parsing on RecentDocumentsButton instances on …
Browse files Browse the repository at this point in the history
…welcome page in oder to have correct file name rendering for filenames with underscores. (#578)

Co-authored-by: Oliver-Loeffler <[email protected]>
  • Loading branch information
Oliver-Loeffler and Oliver-Loeffler committed Nov 8, 2022
1 parent 484a1fe commit 437dadc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ private void loadAndPopulateRecentItemsInBackground() {
recentDocument.setAlignment(Pos.BASELINE_LEFT);
recentDocument.setOnAction(event -> fireOpenRecentProject(event, recentItem));
recentDocument.setTooltip(new Tooltip(recentItem));

/* if MnemonicParsing is enabled, file names with underscores are displayed incorrectly */
recentDocument.setMnemonicParsing(false);
recentDocumentButtons.add(recentDocument);
}

Expand Down

0 comments on commit 437dadc

Please sign in to comment.