IDEMPIERE-1051 Button New Record is active in Sort Tab
This commit is contained in:
parent
0a5aafbd82
commit
981ac8e7a7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue