Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ide any of it's own.

(cherry picked from commit 5aa72eb)
  • Loading branch information...
commit 8bf1a3a492d5b0b9c152fd4a3d97e31adcde28af 1 parent 9502a6d
@stuartm stuartm authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythui/mythscreentype.cpp
View
4 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.