parent
3547046cc1
commit
a33589a9a1
@ -1279,6 +1279,10 @@ class PlaylistModel(QAbstractTableModel):
|
|||||||
unplayed_count: int = 0
|
unplayed_count: int = 0
|
||||||
duration: 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
|
# Show subtotal
|
||||||
for row_number in range(rat.row_number - 1, -1, -1):
|
for row_number in range(rat.row_number - 1, -1, -1):
|
||||||
row_rat = self.playlist_rows[row_number]
|
row_rat = self.playlist_rows[row_number]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user