diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/widget/ColorSelection.java b/src/main/java/ch/ethz/seb/sebserver/gui/widget/ColorSelection.java index 0d3e3974..d49479e6 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/widget/ColorSelection.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/widget/ColorSelection.java @@ -131,6 +131,7 @@ public final class ColorSelection extends Composite implements Selection { private void addColorSelection(final Event event) { final Locale locale = RWT.getLocale(); RWT.setLocale(this.i18nSupport.getUsersLanguageLocale()); + this.colorDialog.setRGB(this.selection); this.colorDialog.open(code -> { if (code == SWT.CANCEL) { return; @@ -142,6 +143,7 @@ public final class ColorSelection extends Composite implements Selection { this.listener.handleEvent(event); } }); + RWT.setLocale(locale); }