Fixed the new record button in find dialog incorrectly set an empty query object as the current query for the window.
This commit is contained in:
parent
6b37fe8be3
commit
c0559b8e18
|
@ -665,8 +665,11 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
// Title is not set when the number of rows is below the minRecords parameter (10)
|
||||
if (!find.isCancel())
|
||||
{
|
||||
query = find.getQuery();
|
||||
m_findCreateNew = find.isCreateNew();
|
||||
if (!m_findCreateNew)
|
||||
{
|
||||
query = find.getQuery();
|
||||
}
|
||||
}
|
||||
else
|
||||
m_findCancelled = true;
|
||||
|
|
Loading…
Reference in New Issue