summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2011-02-01 20:06:13 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2011-02-01 20:06:13 (GMT)
commit8195d9c5c7b7654ec988d8dce6641d2665e48528 (patch)
tree07f573371572a3e0c695ae15bd7591a1f6b62f58
parent3716894d56190f401c4956863c3140427b603e87 (diff)
Fix silly error in 5aa72ebce
-rw-r--r--mythtv/libs/libmythui/mythscreentype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythui/mythscreentype.cpp b/mythtv/libs/libmythui/mythscreentype.cpp
index c2e6488..7f7fc8a 100644
--- a/mythtv/libs/libmythui/mythscreentype.cpp
+++ b/mythtv/libs/libmythui/mythscreentype.cpp
@@ -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;