IDEMPIERE-1051 Button New Record is active in Sort Tab

This commit is contained in:
Richard Morales 2013-06-13 18:19:34 -05:00
parent 0a5aafbd82
commit 981ac8e7a7
1 changed files with 1 additions and 1 deletions

View File

@ -1441,7 +1441,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
// //
// No Rows // No Rows
if (e.getTotalRows() == 0 && insertRecord && !detailTab) if (e.getTotalRows() == 0 && insertRecord && !detailTab && !tabPanel.getGridTab().isSortTab())
{ {
toolbar.enableNew(true); toolbar.enableNew(true);
toolbar.enableDelete(false); toolbar.enableDelete(false);