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.
This commit is contained in:
parent
3bde136c60
commit
e49be7d6b3
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue