[bugfix] reduce maximum number of stations listed in array map status

This commit is contained in:
Marcel Paffrath 2024-08-15 16:30:05 +02:00
parent 2e49813292
commit 42a7d12292

View File

@ -231,7 +231,9 @@ class Array_map(QtWidgets.QWidget):
if cont: if cont:
indices = inds['ind'] indices = inds['ind']
text += ' | Station: ' if len(indices) == 1 else ' | Stations: ' text += ' | Station: ' if len(indices) == 1 else ' | Stations: '
text += ' - '.join([self._station_onpick_ids[index] for index in indices]) text += ' - '.join([self._station_onpick_ids[index] for index in indices[:5]])
if len(indices) > 5:
text += '...'
self.status_label.setText(text) self.status_label.setText(text)