summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_shared.c')
-rw-r--r--src/ui/ui_shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index 5b0e8e30..90286152 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -4417,7 +4417,10 @@ menuDef_t *Menus_ActivateByName(const char *p) {
for( j = 0; j < m->itemCount; j++ ) //TA: reset selection in listboxes when opened
{
if( m->items[ j ]->type == ITEM_TYPE_LISTBOX )
+ {
m->items[ j ]->cursorPos = 0;
+ DC->feederSelection( m->items[ j ]->special, 0 );
+ }
}
if (openMenuCount < MAX_OPEN_MENUS && focus != NULL) {