BF [ 1706409 ] Home button not working correctly

http://sourceforge.net/tracker/index.php?func=detail&aid=1706409&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2007-04-24 10:00:49 +00:00
parent 8159c87e12
commit 6d2fc1da45
1 changed files with 11 additions and 0 deletions

View File

@ -1346,6 +1346,17 @@ public final class APanel extends CPanel
else if (cmd.equals(aMulti.getName()))
m_curGC.switchRowPresentation();
// Go
else if (cmd.equals(aHome.getName())) {
// show main menu - teo_sarca [ 1706409 ]
JFrame menuWin = Env.getWindow(0);
int state = menuWin.getExtendedState();
if ((state & JFrame.ICONIFIED) != 0)
state &= ~JFrame.ICONIFIED;
setBusy(false, false);
menuWin.setExtendedState(state);
menuWin.toFront();
return;
}
else if (cmd.equals(aFirst.getName()))
{ /*cmd_save(false);*/
m_curGC.getTable().removeEditor();