Fixed hide root menu from a subview template

This commit is contained in:
louis
2015-03-20 14:16:09 +01:00
parent a5e051e327
commit 9f8cd6dab5
4 changed files with 15 additions and 7 deletions

View File

@@ -34,11 +34,11 @@ bool cDisplayPluginView::createOsd(void) {
void cDisplayPluginView::Deactivate(bool hide) {
Stop();
if (!hide) {
bool hideFromTemplate = tmplView->HideView();
if (!hideFromTemplate)
return;
esyslog("skindesigner: hiding from template");
bool hideFromTemplate = tmplView->HideView();
if (!hide && !hideFromTemplate)
return;
if (tvScaled) {
cDevice::PrimaryDevice()->ScaleVideo(cRect::Null);
}
HidePixmaps();
for (map< int, cViewGrid* >::iterator it = viewGrids.begin(); it != viewGrids.end(); it++) {