Commit e2270a44 authored by David Fuhrmann's avatar David Fuhrmann

macosx: extensions: Allow multiple entries with same name in popup menu

parent 341eb8fd
......@@ -203,7 +203,8 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
[popup removeAllItems];
struct extension_widget_value_t *value;
for (value = widget->p_values; value != NULL; value = value->p_next)
[popup addItemWithTitle:[NSString stringWithUTF8String:value->psz_text]];
[[popup menu] addItemWithTitle:toNSStr(value->psz_text) action:nil keyEquivalent:@""];
[popup synchronizeTitleAndSelectedItem];
[self popUpSelectionChanged:popup];
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment