lower case tab titles, ready to handle keyboard tab closing
This commit is contained in:
parent
56436c8cca
commit
9078986b3c
@ -351,6 +351,11 @@ public class RootController {
|
|||||||
if (event.getCode() == KeyCode.F5) {
|
if (event.getCode() == KeyCode.F5) {
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if (event.getCode() == KeyCode.Q && event.isControlDown()) {
|
||||||
|
// System.out.println("control q");
|
||||||
|
//
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
@ -16,7 +16,7 @@ public class AlbumTab extends Tab {
|
|||||||
|
|
||||||
public AlbumTab(Album album) throws IOException {
|
public AlbumTab(Album album) throws IOException {
|
||||||
|
|
||||||
setText(album.getName());
|
setText(album.getName().toLowerCase());
|
||||||
|
|
||||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ public class ArtistTab extends Tab{
|
|||||||
|
|
||||||
public ArtistTab(Artist artist) throws IOException {
|
public ArtistTab(Artist artist) throws IOException {
|
||||||
|
|
||||||
setText(artist.getName());
|
setText(artist.getName().toLowerCase());
|
||||||
|
|
||||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ public class TrackTab extends Tab {
|
|||||||
|
|
||||||
public TrackTab(Track track) throws IOException {
|
public TrackTab(Track track) throws IOException {
|
||||||
|
|
||||||
setText(track.getName());
|
setText(track.getName().toLowerCase());
|
||||||
|
|
||||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ui/FMObjBorderPane.fxml"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user