diff --git a/HISTORY b/HISTORY index cab68e2..a615fa3 100644 --- a/HISTORY +++ b/HISTORY @@ -30,4 +30,4 @@ Version 0.0.2 - added extented recording information - added token {nummenuitem} as number of item for every list, value starts with 1 - fixed bug that x and y of subviews was not respected - +- if a subview is completely not set in a skin, the default menu is used diff --git a/displaymenu.c b/displaymenu.c index c029174..9f0e97e 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -155,9 +155,9 @@ void cSDDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool Sel if (config.blockFlush) rootView->LockFlush(); eMenuCategory cat = MenuCategory(); - if (cat == mcMain) { + if (cat == mcMain && rootView->SubViewAvailable()) { list->AddMainMenuItem(Index, Text, Current, Selectable); - } else if (cat == mcSetup) { + } else if (cat == mcSetup && rootView->SubViewAvailable()) { list->AddSetupMenuItem(Index, Text, Current, Selectable); } else { string *tabTexts = new string[MaxTabs]; diff --git a/dtd/displaymenu.dtd b/dtd/displaymenu.dtd index b70a944..4b93809 100644 --- a/dtd/displaymenu.dtd +++ b/dtd/displaymenu.dtd @@ -3,8 +3,8 @@