mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
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
Block a user