Minor: Should focus on newly open form.

This commit is contained in:
Heng Sin Low 2013-04-08 15:32:51 +08:00
parent fc607f9fef
commit 0ac268c7da
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public abstract class TabbedDesktop extends AbstractDesktop {
form.setTitle(null); form.setTitle(null);
preOpenNewTab(); preOpenNewTab();
windowContainer.addWindow(tabPanel, form.getFormName(), true); windowContainer.addWindow(tabPanel, form.getFormName(), true);
form.focus();
} else { } else {
form.setAttribute(Window.MODE_KEY, form.getWindowMode()); form.setAttribute(Window.MODE_KEY, form.getWindowMode());
showWindow(form); showWindow(form);