Fix reported problem for [2761420] - Advanced Search

https://sourceforge.net/tracker/index.php?func=detail&aid=2761420&group_id=176962&atid=879332
This commit is contained in:
Carlos Ruiz 2009-11-13 20:56:26 +00:00
parent 84f8222fd6
commit aca590117d
1 changed files with 5 additions and 4 deletions

View File

@ -50,10 +50,11 @@ public class DocumentSearch extends AbstractDocumentSearch {
protected boolean openWindow(int windowId, MQuery query) {
final AWindow frame = new AWindow();
AEnv.addToWindowManager(frame);
final boolean ok = frame.initWindow(windowId, query);
if (frame.initWindow(windowId, query)) {
frame.pack();
AEnv.showCenterScreen(frame);
return ok;
}
return true;
}
}