Edit Level usage in BusinessListBase.UndoChanges() and BusinessListBase.AcceptChanges()

Edit Level usage in BusinessListBase.UndoChanges() and BusinessListBase.AcceptChanges()

Old forum URL: forums.lhotka.net/forums/t/512.aspx


antoan posted on Thursday, June 29, 2006

Both of the above methods begin with :

_editLevel -= 1;
if (_editLevel
before they cascade the undo or accept calls respectively.

If _editLevel -= 1; results in _editLevel
I dont see why the methods dont just return after this, since as I understand it no editing has taken place?

Copyright (c) Marimer LLC