Advertisement
Guest User

Untitled

a guest
Mar 25th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.84 KB | None | 0 0
  1. diff --git a/mythtv/libs/libmythui/mythscreenstack.cpp b/mythtv/libs/libmythui/mythscreenstack.cpp
  2. index 3caebf8..cf36f23 100644
  3. --- a/mythtv/libs/libmythui/mythscreenstack.cpp
  4. +++ b/mythtv/libs/libmythui/mythscreenstack.cpp
  5. @@ -61,7 +61,7 @@ void MythScreenStack::AddScreen(MythScreenType *screen, bool allowFade)
  6.      m_DoInit = false;
  7.  
  8.      MythScreenType *old = m_topScreen;
  9. -    if (old)
  10. +    if (old && old->IsFullscreen())
  11.          old->aboutToHide();
  12.  
  13.      m_Children.push_back(screen);
  14. @@ -155,7 +155,8 @@ void MythScreenStack::PopScreen(MythScreenType *screen, bool allowFade,
  15.              {
  16.                  m_topScreen = (*it);
  17.                  (*it)->SetAlpha(255);
  18. -                (*it)->aboutToShow();
  19. +                if ((*it)->IsFullscreen())
  20. +                    (*it)->aboutToShow();
  21.              }
  22.          }
  23.      }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement