lower case tab titles, ready to handle keyboard tab closing

This commit is contained in:
aj 2019-05-07 14:37:17 +01:00
parent 56436c8cca
commit 9078986b3c
4 changed files with 8 additions and 3 deletions

View File

@ -351,6 +351,11 @@ public class RootController {
if (event.getCode() == KeyCode.F5) {
refresh();
}
// if (event.getCode() == KeyCode.Q && event.isControlDown()) {
// System.out.println("control q");
//
// }
}
@FXML

View File

@ -16,7 +16,7 @@ public class AlbumTab extends Tab {
public AlbumTab(Album album) throws IOException {
setText(album.getName());
setText(album.getName().toLowerCase());
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));

View File

@ -12,7 +12,7 @@ public class ArtistTab extends Tab{
public ArtistTab(Artist artist) throws IOException {
setText(artist.getName());
setText(artist.getName().toLowerCase());
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));

View File

@ -14,7 +14,7 @@ public class TrackTab extends Tab {
public TrackTab(Track track) throws IOException {
setText(track.getName());
setText(track.getName().toLowerCase());
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));