commit e49be7d6b31db00b43e356fc3b1314ccd1fe0487
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Wed Oct 24 20:08:18 2018 -0400
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Wed Oct 24 20:08:18 2018 -0400
setup: Always show music packs action.
Now that this works regardless of the music output type, it's no longer
necessary to hide this behind a conditional widget. So just always show
it.
Part of #440 but will also aid discoverability for music packs
configuration, as part of #1051.
---
src/setup/sound.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/setup/sound.c b/src/setup/sound.c
index d3ce01fb..52f02970 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -149,9 +149,7 @@ void ConfigSound(TXT_UNCAST_ARG(widget), void *user_data)
TXT_SCREEN_W / 2, 3);
music_action = TXT_NewWindowAction('m', "Music Packs");
- TXT_SetWindowAction(window, TXT_HORIZ_CENTER,
- TXT_NewConditional(&snd_musicdevice, SNDDEVICE_GENMIDI,
- music_action));
+ TXT_SetWindowAction(window, TXT_HORIZ_CENTER, music_action);
TXT_SignalConnect(music_action, "pressed", OpenMusicPackDir, NULL);
TXT_AddWidgets(window,