We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e41359 commit 8409162Copy full SHA for 8409162
pyradio/radio.py
@@ -8006,6 +8006,8 @@ def keypress(self, char):
8006
self._cnf.number_of_stations = self.number_of_items
8007
self.selection = self.number_of_items - 1
8008
self.startPos = self.number_of_items - self.bodyMaxY
8009
+ if self.startPos < 0:
8010
+ self.startPos = 0
8011
else:
8012
if self.number_of_items == 0:
8013
self._cnf.stations = [self._station_editor.new_station]
@@ -10452,6 +10454,8 @@ def _redisplay_stations_and_playlists(self):
10452
10454
self.bodyWin.erase()
10453
10455
10456
for lineNum in range(self.bodyMaxY):
10457
10458
10459
i = lineNum + self.startPos
10460
if i < len(self.stations):
10461
if not self._cnf.browsing_station_service and \
0 commit comments