IDEMPIERE-454 Easy import / Peer review

This commit is contained in:
Carlos Ruiz 2013-05-04 14:50:48 -05:00
parent f6d907ff63
commit 27c8f4b306
1 changed files with 5 additions and 1 deletions

View File

@ -173,7 +173,11 @@ public class ExportWindow extends Window implements EventListener<Event> {
childs.add(adTabPanel.getGridTab()); childs.add(adTabPanel.getGridTab());
} }
exporter.export(panel.getActiveGridTab(), childs, currentRowOnly, file); int indxDetailSelected = 0;
if( adTab.getSelectedDetailADTabpanel()!=null )
indxDetailSelected = adTab.getSelectedDetailADTabpanel().getGridTab().getTabNo();
exporter.export(panel.getActiveGridTab(), childs, currentRowOnly,file,indxDetailSelected);
onClose(); onClose();
AMedia media = null; AMedia media = null;