Re #7098. Fixed copy-paste error in SliceView peaks display.