[ 1878834 ] Bug in the Included Grid mode

This commit is contained in:
Heng Sin Low 2008-02-13 05:03:46 +00:00
parent 4b874675ef
commit 1955c018cb
1 changed files with 3 additions and 2 deletions

View File

@ -1171,10 +1171,11 @@ public final class APanel extends CPanel
} }
else // Cur Tab Setting else // Cur Tab Setting
{ {
int gwTabIndex = m_mWorkbench.getMWindow(0).getTabIndex(m_curGC.getMTab());
//boolean needValidate = false; //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; //needValidate = true;
} }
m_curGC.activate(); m_curGC.activate();