From 0e506ec5be3dfce0cee92d7b4a4550caefc54648 Mon Sep 17 00:00:00 2001 From: armenrz Date: Wed, 21 Feb 2007 10:31:31 +0000 Subject: [PATCH] Cancel opening window --- client/src/org/compiere/apps/APanel.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 22b2d4ef2f..238d16dd33 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -539,6 +539,11 @@ public final class APanel extends CPanel m_onlyCurrentRows = false; // Query might involve history gTab.setQuery(query); } + //Added Lines by Armen (Goodwill) + else { + return false; //Cancel Opening Window + } + //End of Added Lines if (wb == 0) m_curTab = gTab; } // query on first tab