From 9048b8b8e7dc7371e0e02e10c233e1809f9d1d98 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 11 Jun 2007 08:03:54 +0000 Subject: [PATCH] [ 1734802 ] Right click on AutoCompletion box is not working as expected http://sourceforge.net/tracker/index.php?func=detail&aid=1734802&group_id=176962&atid=879332 --- client/src/org/compiere/grid/ed/VLookup.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/org/compiere/grid/ed/VLookup.java b/client/src/org/compiere/grid/ed/VLookup.java index 90d3289de4..a8fc987924 100644 --- a/client/src/org/compiere/grid/ed/VLookup.java +++ b/client/src/org/compiere/grid/ed/VLookup.java @@ -1367,6 +1367,9 @@ final class VLookup_mouseAdapter extends java.awt.event.MouseAdapter // popup menu if (SwingUtilities.isRightMouseButton(e)) m_adaptee.popupMenu.show((Component)e.getSource(), e.getX(), e.getY()); + // Hide the popup if not right click - teo_sarca [ 1734802 ] + else + m_adaptee.popupMenu.setVisible(false); } // mouse Clicked } // VLookup_mouseAdapter