Commit 601c7b71 authored by Marvin Scholz's avatar Marvin Scholz Committed by Jean-Baptiste Kempf

macosx: Remove teletext case from MainMenu validation

It seems the teletext menu item validation special case is not
necessary at all anymore.
If the parent item is disabled, it does not seem to matter if the
subitems are enabled or not, as access to the subitems is not possible
when the parent is disabled.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent a6ee93bc
......@@ -1630,17 +1630,6 @@
bEnabled = _openSubtitleFile.isEnabled;
/* Special case for telx menu */
if ([title isEqualToString: _NS("Normal Size")]) {
NSMenuItem *item = [[mi menu] itemWithTitle:_NS("Teletext")];
bool b_telx = p_input && var_GetInteger(p_input, "teletext-es") >= 0;
[[item submenu] setAutoenablesItems:NO];
for (int k=0; k < [[item submenu] numberOfItems]; k++)
[[[item submenu] itemAtIndex:k] setEnabled: b_telx];
if (p_input)
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