From 1955c018cb897007106286b543f7e7107cfc631c Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 13 Feb 2008 05:03:46 +0000 Subject: [PATCH] [ 1878834 ] Bug in the Included Grid mode --- client/src/org/compiere/apps/APanel.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 4a3ce07b36..7375cb95fb 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -1171,10 +1171,11 @@ public final class APanel extends CPanel } else // Cur Tab Setting { + int gwTabIndex = m_mWorkbench.getMWindow(0).getTabIndex(m_curGC.getMTab()); //boolean needValidate = false; - if (m_mWorkbench.getMWindow(0).isTabInitialized(m_curTabIndex) == false) + if (m_mWorkbench.getMWindow(0).isTabInitialized(gwTabIndex) == false) { - m_mWorkbench.getMWindow(0).initTab(m_curTabIndex); + m_mWorkbench.getMWindow(0).initTab(gwTabIndex); //needValidate = true; } m_curGC.activate();