Update ProfilesListWidget.java
This commit is contained in:
parent
4d38676db5
commit
335b7c67b1
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ public class ProfilesListWidget extends ElementListWidget<ProfilesListWidget.Ent
|
||||||
|
|
||||||
for (File profile : Objects.requireNonNull(profilesDirectory.listFiles())) {
|
for (File profile : Objects.requireNonNull(profilesDirectory.listFiles())) {
|
||||||
String profileName = FilenameUtils.removeExtension(profile.getName());
|
String profileName = FilenameUtils.removeExtension(profile.getName());
|
||||||
|
this.addEntry(new ProfilesListWidget.ProfileEntry(Text.of(profileName)));
|
||||||
|
|
||||||
// Sodium
|
// Sodium
|
||||||
// This code doesn't work yet
|
// This code doesn't work yet
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue