Commit bdcbe513 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

fixed bug in profilevisualization.py

parent 89979e62
......@@ -1535,8 +1535,9 @@ class SpectralTemporalVisualization(QObject):
if len(self.tpCollection) > 0:
temporalProfile = self.tpCollection[0]
plotStyle.setTemporalProfile(temporalProfile)
color = self.plotSettingsModel3D[-1].color()
plotStyle.setColor(nextColor(color))
if len(self.plotSettingsModel3D) > 0:
color = self.plotSettingsModel3D[-1].color()
plotStyle.setColor(nextColor(color))
sensors = list(self.TS.Sensors.keys())
if len(sensors) > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment