Prepare window context before entering a tab

- Fixed invalid context for tab 0
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2959339
This commit is contained in:
Heng Sin Low 2010-03-01 05:37:59 +00:00
parent bff8e97dd6
commit c3805382ae
1 changed files with 4 additions and 0 deletions

View File

@ -153,6 +153,10 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
} }
Collections.reverse(parents); Collections.reverse(parents);
} }
else
{
parents.add(0);
}
//clear context //clear context
for (int i = 0; i < tabPanelList.size(); i++) for (int i = 0; i < tabPanelList.size(); i++)