IDEMPIERE-1357 Tree panel not is updated with result of Find window / testing IDEMPIERE-1477 found that IDEMPIERE-1357 was back
This commit is contained in:
parent
9f7635ac7b
commit
9e17fdff49
|
@ -26,6 +26,7 @@ import java.util.Map.Entry;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import org.adempiere.base.Core;
|
import org.adempiere.base.Core;
|
||||||
|
import org.adempiere.exceptions.AdempiereException;
|
||||||
import org.adempiere.webui.AdempiereIdGenerator;
|
import org.adempiere.webui.AdempiereIdGenerator;
|
||||||
import org.adempiere.webui.AdempiereWebUI;
|
import org.adempiere.webui.AdempiereWebUI;
|
||||||
import org.adempiere.webui.LayoutUtils;
|
import org.adempiere.webui.LayoutUtils;
|
||||||
|
@ -1141,7 +1142,11 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
||||||
{
|
{
|
||||||
if (nodeID > 0 && logger.isLoggable(Level.WARNING))
|
if (nodeID > 0 && logger.isLoggable(Level.WARNING))
|
||||||
logger.log(Level.WARNING, "Tab does not have ID with Node_ID=" + nodeID);
|
logger.log(Level.WARNING, "Tab does not have ID with Node_ID=" + nodeID);
|
||||||
return;
|
if (gridTab.getCurrentRow() >= 0)
|
||||||
|
{
|
||||||
|
gridTab.setCurrentRow(gridTab.getCurrentRow(), true);
|
||||||
|
}
|
||||||
|
throw new AdempiereException(Msg.getMsg(Env.getCtx(),"RecordIsNotInCurrentSearch"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navigate to node row
|
// Navigate to node row
|
||||||
|
|
Loading…
Reference in New Issue