mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 12:56:52 +01:00
Playlist: Fix "Stop after this track" greys out next track in dynamic mode
Fixes #912
This commit is contained in:
parent
fc6c3774b0
commit
fcd148b8d5
@ -352,7 +352,7 @@ QVariant Playlist::data(const QModelIndex &idx, int role) const {
|
||||
if (items_[idx.row()]->HasCurrentForegroundColor()) {
|
||||
return QBrush(items_[idx.row()]->GetCurrentForegroundColor());
|
||||
}
|
||||
if (idx.row() < dynamic_history_length()) {
|
||||
if (idx.row() < dynamic_history_length() - 1) {
|
||||
return QBrush(kDynamicHistoryColor);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user