Changeset - r28186:b45476b67929
[Not reviewed]
master
0 1 0
Peter Nelson - 12 months ago 2023-11-27 12:52:30
peter1138@openttd.org
Fix: Invalidate playlist window when (un)shuffling playlist.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/music_gui.cpp
Show inline comments
 
@@ -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);
 
}
 

	
0 comments (0 inline, 0 general)