Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
berry120 committed May 9, 2024
1 parent 6be8711 commit 2e6e6f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Quelea/src/main/java/org/quelea/server/RCHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ public static String addSongToSchedule(HttpExchange he) {
songID = Long.parseLong(songIDString);
SongDisplayable sd = SongManager.get().getIndex().getByID(songID);

if (QueleaProperties.get().getUseDefaultTranslation()) {
String defaultTranslation = QueleaProperties.get().getDefaultTranslationName();
if (defaultTranslation != null && !defaultTranslation.trim().isEmpty()) {
sd.setCurrentTranslationLyrics(defaultTranslation);
}
}
Utils.fxRunAndWait(() -> {
QueleaApp.get().getMainWindow().getMainPanel().getSchedulePanel().getScheduleList().add(sd);
});
Expand Down

0 comments on commit 2e6e6f7

Please sign in to comment.