mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: Invalidate playlist window when (un)shuffling playlist.
This commit is contained in:
parent
4c6ccb5248
commit
6c91c4b99d
|
@ -197,6 +197,7 @@ void MusicSystem::Shuffle()
|
|||
|
||||
if (_settings_client.music.playing) this->Play();
|
||||
|
||||
InvalidateWindowData(WC_MUSIC_TRACK_SELECTION, 0);
|
||||
InvalidateWindowData(WC_MUSIC_WINDOW, 0);
|
||||
}
|
||||
|
||||
|
@ -208,6 +209,7 @@ void MusicSystem::Unshuffle()
|
|||
|
||||
if (_settings_client.music.playing) this->Play();
|
||||
|
||||
InvalidateWindowData(WC_MUSIC_TRACK_SELECTION, 0);
|
||||
InvalidateWindowData(WC_MUSIC_WINDOW, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue