Redo of matrix->normalize with a multiplication factor doesn't reproduce data
- Have a spectrum
- Matrix -> Normalize with a multiplication factor (say: 2). Check the Y-axis for the peak intensities
- Undo
- Redo. Check the Y axis. Y axis is now 4x larger than in step 2
Reason: not properly inverted in
self.undoList.append(lambda self: self.normalize(1.0 / mult, scale, ftype, axis, select=select))
Note: Multiplication in the UI refers to variable scale, not mult. Just to keep life simple :)