BF [ 1941271 ] VTreePanel is modifying even if is save wasn't successfull

This commit is contained in:
teo_sarca 2008-04-16 08:29:00 +00:00
parent 01ef4e2f8e
commit 6e2b8971e5
1 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ import org.compiere.util.*;
* @contributor fer_luck@centuryon.com , FR [ 1757088 ] * @contributor fer_luck@centuryon.com , FR [ 1757088 ]
* @author Teo Sarca, SC ARHIPAC SERVICE SRL * @author Teo Sarca, SC ARHIPAC SERVICE SRL
* <li>BF [ 1824621 ] History button can't be canceled * <li>BF [ 1824621 ] History button can't be canceled
* <li>BF [ 1941271 ] VTreePanel is modifying even if is save wasn't successfull
*/ */
public final class APanel extends CPanel public final class APanel extends CPanel
implements DataStatusListener, ChangeListener, ActionListener, ASyncProcess implements DataStatusListener, ChangeListener, ActionListener, ASyncProcess
@ -1715,7 +1716,8 @@ public final class APanel extends CPanel
ADialog.error(m_curWindowNo, this, "SaveIgnored"); ADialog.error(m_curWindowNo, this, "SaveIgnored");
setStatusLine(Msg.getMsg(m_ctx, "SaveIgnored"), true); setStatusLine(Msg.getMsg(m_ctx, "SaveIgnored"), true);
} }
m_curGC.rowChanged(true, m_curTab.getRecord_ID()); if (retValue)
m_curGC.rowChanged(true, m_curTab.getRecord_ID());
if (manualCmd) { if (manualCmd) {
m_curGC.dynamicDisplay(0); m_curGC.dynamicDisplay(0);
if (!isNested) if (!isNested)