SEBSERV-58 fixed point 3
This commit is contained in:
parent
2ad04e848a
commit
40b83111cb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue