@@ -540,14 +513,13 @@ class ParticleAnalysis(QtWidgets.QMainWindow):
self.updateSpecPlot()
self.jumpToIndicatedSpectrum()
defsetWidgetsToNewParticleIndex(self,particleIndex):#TODO: Probably refactor. Its basically a combination of the above methods... Just a bit different to avoid directly jumping to the particle in sampleview