From 465286b73e4f96384297ab6b01080bb87566c4e5 Mon Sep 17 00:00:00 2001 From: Richard Morales Date: Mon, 17 Jun 2013 19:37:31 -0500 Subject: [PATCH] IDEMPIERE-1049 Not able to close Print format Window --- .../WEB-INF/src/org/adempiere/webui/adwindow/ADSortTab.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADSortTab.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADSortTab.java index 83e348ad01..eff06c109e 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADSortTab.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADSortTab.java @@ -459,7 +459,9 @@ public class ADSortTab extends Panel implements IADTabpanel rs = null; pstmt = null; } - setIsChanged(false); + if (!gridTab.getParentTab().needSave(true, true)) + setIsChanged(false); + bAdd.setEnabled(isReadWrite); bRemove.setEnabled(isReadWrite); bUp.setEnabled(isReadWrite);