Sample Editor waveform does not update if modifying original sample while viewing slice

Steps to replicate:

  1. Open Sample Editor
  2. Have a Sample there that is Sliced
  3. Be in the Slice - viewing the Slice
  4. Run a script that modifies the original sample. (with prepare + finalize included, of course)

Expected: After modifying the original sample, the slice waveform is updated.
Currently: After modifying the original sample, the slice waveform is not updated. it requires me to go to a previous slice and return to the original slice, to see the waveform update.