[bugfix] reduce maximum number of stations listed in array map status
This commit is contained in:
parent
2e49813292
commit
42a7d12292
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user