fixed nullpointer
This commit is contained in:
parent
107b3beb35
commit
ff7cc5b020
1 changed files with 2 additions and 2 deletions
|
@ -829,7 +829,7 @@ public class WidgetFactory {
|
||||||
|
|
||||||
return selectionLocalized(
|
return selectionLocalized(
|
||||||
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, null,
|
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, null,
|
||||||
this.i18nSupport.getText(label));
|
(label != null) ? this.i18nSupport.getText(label) : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Selection selectionLocalized(
|
public Selection selectionLocalized(
|
||||||
|
@ -842,7 +842,7 @@ public class WidgetFactory {
|
||||||
final LocTextKey label) {
|
final LocTextKey label) {
|
||||||
return selectionLocalized(
|
return selectionLocalized(
|
||||||
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, actionLocTextPrefix,
|
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, actionLocTextPrefix,
|
||||||
this.i18nSupport.getText(label));
|
(label != null) ? this.i18nSupport.getText(label) : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Selection selectionLocalized(
|
public Selection selectionLocalized(
|
||||||
|
|
Loading…
Reference in a new issue