* Display splash after logout and relogin
This commit is contained in:
parent
7c96a4b520
commit
fd4b6ec354
|
@ -573,6 +573,8 @@ public final class AEnv
|
||||||
}
|
}
|
||||||
Env.logout();
|
Env.logout();
|
||||||
|
|
||||||
|
Splash.getSplash().setVisible(true);
|
||||||
|
|
||||||
//reload
|
//reload
|
||||||
new AMenu();
|
new AMenu();
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,9 @@ public final class AMenu extends CFrame
|
||||||
// Login
|
// Login
|
||||||
initSystem (splash); // login
|
initSystem (splash); // login
|
||||||
splash.setText(Msg.getMsg(m_ctx, "Loading"));
|
splash.setText(Msg.getMsg(m_ctx, "Loading"));
|
||||||
|
splash.toFront();
|
||||||
|
splash.paint(splash.getGraphics());
|
||||||
|
|
||||||
//
|
//
|
||||||
Adempiere.startupEnvironment(true); // Load Environment
|
Adempiere.startupEnvironment(true); // Load Environment
|
||||||
MSession.get (Env.getCtx(), true); // Start Session
|
MSession.get (Env.getCtx(), true); // Start Session
|
||||||
|
|
Loading…
Reference in New Issue