Skip to content

Commit

Permalink
MythUI: Fix double rendering of fading screens
Browse files Browse the repository at this point in the history
  • Loading branch information
natanojl committed Oct 21, 2012
1 parent 83e88bc commit da065e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythscreenstack.cpp
Expand Up @@ -145,7 +145,7 @@ void MythScreenStack::PopScreen(MythScreenType *screen, bool allowFade,
RecalculateDrawOrder();

// If we're fading it, we still want to draw it.
if (screen)
if (screen && !m_DrawOrder.contains(screen))
m_DrawOrder.push_back(screen);

if (!m_Children.isEmpty())
Expand Down

0 comments on commit da065e4

Please sign in to comment.