Permalink
Browse files

MythUIWebBrowser: Fix a problem with making the web page active.

Sometimes after displaying two or more popup windows the web page wasn't being
made active again when it was the top widget.
  • Loading branch information...
Paul Harrison
Paul Harrison committed May 11, 2011
1 parent 714cf09 commit f84f26827173ae7bbcd8e451dd3166f8bc5490c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/mythuiwebbrowser.cpp
@@ -1023,7 +1023,7 @@ void MythUIWebBrowser::slotTopScreenChanged(MythScreenType* screen)
}
else
{
- bool wasActive = m_active;
+ bool wasActive = (m_wasActive | m_active);
SetActive(false);
m_wasActive = wasActive;
break;

0 comments on commit f84f268

Please sign in to comment.