Skip to content

Commit

Permalink
Fix silly error in 5aa72eb
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Feb 1, 2011
1 parent 3716894 commit 8195d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythscreentype.cpp
Expand Up @@ -121,7 +121,7 @@ bool MythScreenType::SetFocusWidget(MythUIType *widget)
m_CurrentFocusWidget = widget;
m_CurrentFocusWidget->TakeFocus();

if (!widget->GetHelpText().isEmpty())
if (helpText && !widget->GetHelpText().isEmpty())
helpText->SetText(widget->GetHelpText());

return true;
Expand Down

0 comments on commit 8195d9c

Please sign in to comment.