IDEMPIERE-5494 : [WLocationEditor] - Enable Zoom - fix NPE (#1686)

This commit is contained in:
Nicolas Micoud 2023-02-23 04:31:47 +01:00 committed by GitHub
parent 9efd93d08a
commit 3e83d5ff67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)