parent
c8b571b38f
commit
53664857c1
@ -1279,6 +1279,10 @@ class PlaylistModel(QAbstractTableModel):
|
||||
unplayed_count: int = 0
|
||||
duration: int = 0
|
||||
|
||||
if rat.row_number == 0:
|
||||
# Meaningless to have a subtotal on row 0
|
||||
return Config.SUBTOTAL_ON_ROW_ZERO
|
||||
|
||||
# Show subtotal
|
||||
for row_number in range(rat.row_number - 1, -1, -1):
|
||||
row_rat = self.playlist_rows[row_number]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user