mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-21 22:25:39 +01:00
Don't show two notifications when skipping track
This commit is contained in:
parent
be9f587da6
commit
b3acccac97
@ -125,7 +125,7 @@ void Playlist::set_current_index(int i) {
|
||||
if (old_current.isValid())
|
||||
emit dataChanged(old_current, old_current.sibling(old_current.row(), ColumnCount));
|
||||
|
||||
if (current_item_.isValid()) {
|
||||
if (current_item_.isValid() && current_item_ != old_current) {
|
||||
emit dataChanged(current_item_, current_item_.sibling(current_item_.row(), ColumnCount));
|
||||
emit CurrentSongChanged(current_item_metadata());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user