Permalink
Browse files

Don't overwrite default help text if the current widget does not prov…

…ide any of it's own.
  • Loading branch information...
stuartm committed Feb 1, 2011
1 parent 54dde86 commit 5aa72ebce5661e966b1c5a73a576bc1bf7c3cca1
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythui/mythscreentype.cpp
@@ -121,8 +121,8 @@ bool MythScreenType::SetFocusWidget(MythUIType *widget)
m_CurrentFocusWidget = widget;
m_CurrentFocusWidget->TakeFocus();
if (helpText)
helpText->SetText(m_CurrentFocusWidget->GetHelpText());
if (!widget->GetHelpText().isEmpty())
helpText->SetText(widget->GetHelpText());
return true;
}

0 comments on commit 5aa72eb

Please sign in to comment.