diff --git a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceCellVM.cs b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceCellVM.cs index ce223e54e..55d13fc3c 100644 --- a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceCellVM.cs +++ b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceCellVM.cs @@ -26,13 +26,13 @@ namespace mbts.spark { _refresh = new(_is_dirty.refresh); _committed_value.Changed += on_committed_changed; _candidate_value.Changed += on_candidate_changed; - _is_dirty.Changed += (o, n) => { - Log.assert(o != n); - // TODO: John, this was logged too many times - // Log.Ui.info( - // $"VolSurface '{expiration}.{column}' is_dirty changed to {n}. " + - // $"commited: {committed_value}; candidate: {candidate_value}"); - }; + if (column.type.is_editable()) { + _is_dirty.Changed += (o, n) => { + Log.Ui.info( + $"VolSurface '{expiration}.{column}' is_dirty changed to {n}. " + + $"commited: {committed_value}; candidate: {candidate_value}"); + }; + } void on_committed_changed(object? oldval, object? newval) => _is_dirty.refresh();