Minor: Should focus on newly open form.
This commit is contained in:
parent
fc607f9fef
commit
0ac268c7da
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue