From 27217eea5891675187d462c231c38ade26525587 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Sat, 6 Oct 2007 13:07:26 +0000 Subject: [PATCH] BF [ 1808617 ] Close Windows from "Viewer" (report) is not working --- client/src/org/compiere/apps/WindowMenu.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/apps/WindowMenu.java b/client/src/org/compiere/apps/WindowMenu.java index 490d2e6f48..e784446211 100644 --- a/client/src/org/compiere/apps/WindowMenu.java +++ b/client/src/org/compiere/apps/WindowMenu.java @@ -33,6 +33,9 @@ import org.compiere.util.Msg; * * @author Low Heng Sin * @version 2006/11/20 + * + * @author Teo Sarca, SC ARHIPAC SERVICE SRL + *
  • BF [ 1808617 ] Close Windows from "Viewer" (report) is not working */ public class WindowMenu extends JMenu { private WindowManager windowManager; @@ -82,7 +85,7 @@ public class WindowMenu extends JMenu { setEnvText(closeAll, "CloseAllWindows"); closeOthers.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { - WindowMenu.this.windowManager.closeOthers((AWindow)WindowMenu.this.frame); + WindowMenu.this.windowManager.closeOthers((CFrame)WindowMenu.this.frame); } }); setEnvText(closeOthers, "CloseOtherWindows");