IDEMPIERE-5494 : [WLocationEditor] - Enable Zoom - fix NPE (#1686)
This commit is contained in:
parent
9efd93d08a
commit
3e83d5ff67
|
@ -104,7 +104,7 @@ public class WLocationEditor extends WEditor implements EventListener<Event>, Pr
|
||||||
else
|
else
|
||||||
getComponent().setButtonImage(ThemeManager.getThemeResource("images/Location16.png"));
|
getComponent().setButtonImage(ThemeManager.getThemeResource("images/Location16.png"));
|
||||||
|
|
||||||
popupMenu = new WEditorPopupMenu(true, false, isShowPreference(), false, false, false, gridField.getLookup());
|
popupMenu = new WEditorPopupMenu(true, false, isShowPreference(), false, false, false, gridField != null ? gridField.getLookup() : null);
|
||||||
popupMenu.addMenuListener(this);
|
popupMenu.addMenuListener(this);
|
||||||
addChangeLogMenu(popupMenu);
|
addChangeLogMenu(popupMenu);
|
||||||
if (gridField != null)
|
if (gridField != null)
|
||||||
|
|
Loading…
Reference in New Issue