SEBSERV-58 fixed point 3

This commit is contained in:
anhefti 2021-06-24 11:57:03 +02:00
parent 2ad04e848a
commit 40b83111cb

View file

@ -131,6 +131,7 @@ public final class ColorSelection extends Composite implements Selection {
private void addColorSelection(final Event event) { private void addColorSelection(final Event event) {
final Locale locale = RWT.getLocale(); final Locale locale = RWT.getLocale();
RWT.setLocale(this.i18nSupport.getUsersLanguageLocale()); RWT.setLocale(this.i18nSupport.getUsersLanguageLocale());
this.colorDialog.setRGB(this.selection);
this.colorDialog.open(code -> { this.colorDialog.open(code -> {
if (code == SWT.CANCEL) { if (code == SWT.CANCEL) {
return; return;
@ -142,6 +143,7 @@ public final class ColorSelection extends Composite implements Selection {
this.listener.handleEvent(event); this.listener.handleEvent(event);
} }
}); });
RWT.setLocale(locale); RWT.setLocale(locale);
} }