IDEMPIERE-1595 Wrong behavior when deleting lines from a document.

This commit is contained in:
Heng Sin Low 2013-12-05 15:02:55 +08:00
parent 7993bdde48
commit ff1d398c5c
1 changed files with 3 additions and 4 deletions

View File

@ -166,7 +166,7 @@ public class CompositeADTabbox extends AbstractADTabbox
if (!tabPanel.getGridTab().dataDelete()) { if (!tabPanel.getGridTab().dataDelete()) {
showLastError(); showLastError();
} else { } else {
adWindowPanel.onRefresh(false); adWindowPanel.onRefresh(true);
} }
} }
}); });
@ -199,9 +199,8 @@ public class CompositeADTabbox extends AbstractADTabbox
} }
} }
tabPanel.refresh(); adWindowPanel.onRefresh(true);
tabPanel.dynamicDisplay(0); adWindowPanel.getStatusBar().setStatusLine(Msg.getMsg(Env.getCtx(), "Deleted")+": "+count, false);
adWindowPanel.getStatusBar().setStatusLine(Msg.getMsg(Env.getCtx(), "Deleted")+": "+count, false);
} }
} }
}); });