From 009d98531a0df783640d9f3aeb513f3cd09175e2 Mon Sep 17 00:00:00 2001 From: afalcone Date: Mon, 19 Feb 2007 18:22:42 +0000 Subject: [PATCH] Fix bug [ 1659420 ] Usability: zoom across --- client/src/org/compiere/apps/AZoomAcross.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/src/org/compiere/apps/AZoomAcross.java b/client/src/org/compiere/apps/AZoomAcross.java index d4f299dfa0..906ab10d91 100644 --- a/client/src/org/compiere/apps/AZoomAcross.java +++ b/client/src/org/compiere/apps/AZoomAcross.java @@ -121,6 +121,8 @@ public class AZoomAcross implements ActionListener log.log(Level.SEVERE, sql, e); } + // Begin - afalcone - Bug Fix [ 1659420 ] Usability: zoom across + /* // No Zoom if (m_list.size() == 0) { @@ -129,6 +131,19 @@ public class AZoomAcross implements ActionListener } else if (invoker.isShowing()) m_popup.show(invoker, 0, invoker.getHeight()); // below button + */ + + // No Zoom + if (m_list.size() == 0) + { + m_popup.add(Msg.getMsg(Env.getCtx(), "NoZoomTarget")); // Added + log.info("BaseLanguage=" + baseLanguage); + } + if (invoker.isShowing()) + m_popup.show(invoker, 0, invoker.getHeight()); + + //End - afalcone - Bug Fix [ 1659420 ] Usability: zoom across + } // getZoomTargets /**