IDEMPIERE-1232 Zoom condition fixes / found problem obtaining parent tab on MZoomCondition as the variable _TabInfo_TabLevel has not been initialized - when navigating to BP Location it finds User BP Access as parent tab instead of the master BP

This commit is contained in:
Carlos Ruiz 2013-11-28 12:59:08 -05:00
parent a9145e7061
commit 4ff74bfef3
2 changed files with 8 additions and 7 deletions

View File

@ -166,6 +166,7 @@ public class GridWindow implements Serializable
if (mTabVO != null) if (mTabVO != null)
{ {
GridTab mTab = new GridTab(mTabVO, this, m_virtual); GridTab mTab = new GridTab(mTabVO, this, m_virtual);
Env.setContext(m_vo.ctx, m_vo.WindowNo, t, GridTab.CTX_TabLevel, Integer.toString(mTab.getTabLevel()));
m_tabs.add(mTab); m_tabs.add(mTab);
} }
} // for all tabs } // for all tabs