From f4ae71a9617085c89049f47d5d86c09c6e388d4b Mon Sep 17 00:00:00 2001 From: tspc Date: Fri, 11 Jan 2008 16:22:25 +0000 Subject: [PATCH] Bug Fix [ 1869421 ] Size of Main Window is not being saved on exit --- client/src/org/compiere/apps/AEnv.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/apps/AEnv.java b/client/src/org/compiere/apps/AEnv.java index 93f9515fee..6b6b6ac688 100644 --- a/client/src/org/compiere/apps/AEnv.java +++ b/client/src/org/compiere/apps/AEnv.java @@ -331,7 +331,10 @@ public final class AEnv else if (actionCommand.equals("Exit")) { if (ADialog.ask(WindowNo, c, "ExitApplication?")) - Env.exitEnv(0); + { + AMenu aMenu = (AMenu)Env.getWindow(0); + aMenu.dispose() ; + } } else if (actionCommand.equals("Logout")) {