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(
|
||||
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, null,
|
||||
this.i18nSupport.getText(label));
|
||||
(label != null) ? this.i18nSupport.getText(label) : null);
|
||||
}
|
||||
|
||||
public Selection selectionLocalized(
|
||||
|
@ -842,7 +842,7 @@ public class WidgetFactory {
|
|||
final LocTextKey label) {
|
||||
return selectionLocalized(
|
||||
type, parent, itemsSupplier, toolTipTextKey, itemsToolTipSupplier, actionLocTextPrefix,
|
||||
this.i18nSupport.getText(label));
|
||||
(label != null) ? this.i18nSupport.getText(label) : null);
|
||||
}
|
||||
|
||||
public Selection selectionLocalized(
|
||||
|
|
Loading…
Reference in a new issue