OnFind doesn't check FindWindow.IsCancel

This commit is contained in:
Heng Sin Low 2009-03-05 08:42:55 +00:00
parent c5b01e5672
commit 8fd5367c8f
1 changed files with 13 additions and 12 deletions

View File

@ -1044,9 +1044,10 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
curTab.getWhereExtended(), findFields, 1, curTab.getAD_Tab_ID()); curTab.getWhereExtended(), findFields, 1, curTab.getAD_Tab_ID());
find.setVisible(true); find.setVisible(true);
AEnv.showWindow(find); AEnv.showWindow(find);
MQuery query = find.getQuery();
find = null; if (!find.isCancel())
{
MQuery query = find.getQuery();
// Confirmed query // Confirmed query
if (query != null) if (query != null)
@ -1057,7 +1058,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
} }
curTab.dataRefresh(); // Elaine 2008/07/25 curTab.dataRefresh(); // Elaine 2008/07/25
}
} }
/** /**