mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added possibility to hide root menu from a subview template
This commit is contained in:
@@ -34,8 +34,12 @@ bool cDisplayPluginView::createOsd(void) {
|
||||
|
||||
void cDisplayPluginView::Deactivate(bool hide) {
|
||||
Stop();
|
||||
if (!hide)
|
||||
return;
|
||||
if (!hide) {
|
||||
bool hideFromTemplate = tmplView->HideView();
|
||||
if (!hideFromTemplate)
|
||||
return;
|
||||
esyslog("skindesigner: hiding from template");
|
||||
}
|
||||
HidePixmaps();
|
||||
for (map< int, cViewGrid* >::iterator it = viewGrids.begin(); it != viewGrids.end(); it++) {
|
||||
cViewGrid *viewGrid = it->second;
|
||||
|
Reference in New Issue
Block a user