From 81ccac84b9716b57fb09f8e5d6dd7fbf6f81c18b Mon Sep 17 00:00:00 2001 From: kthiemann Date: Fri, 22 Feb 2008 12:45:17 +0000 Subject: [PATCH] BF [1894251] Grid mode checking for hidden columns to be filled --- base/src/org/compiere/model/GridTab.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/GridTab.java b/base/src/org/compiere/model/GridTab.java index 222f82020c..b36fd43376 100644 --- a/base/src/org/compiere/model/GridTab.java +++ b/base/src/org/compiere/model/GridTab.java @@ -2817,10 +2817,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable return; } // switch the line numbers and save new values - m_mTable.setValueAt(lineNoNextRow, from, lineCol); + + m_mTable.setValueAt(lineNoCurrentRow, to, lineCol); setCurrentRow(to, false); m_mTable.dataSave(true); - m_mTable.setValueAt(lineNoCurrentRow, to, lineCol); + m_mTable.setValueAt(lineNoNextRow, from, lineCol); setCurrentRow(from, false); m_mTable.dataSave(true); //resort