From 6edb21ca2b8782bf4303eccaec7462906c7bf488 Mon Sep 17 00:00:00 2001 From: Robert McNamara Date: Tue, 2 Aug 2011 18:59:03 -0700 Subject: [PATCH] MythUI: Fix tag. A small error caused the presence of the tag to align everything to the bottom, rather drawing from the bottom only if the value was true. --- mythtv/libs/libmythui/mythuibuttonlist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mythtv/libs/libmythui/mythuibuttonlist.cpp b/mythtv/libs/libmythui/mythuibuttonlist.cpp index cd54357fd53..c7a4043867e 100644 --- a/mythtv/libs/libmythui/mythuibuttonlist.cpp +++ b/mythtv/libs/libmythui/mythuibuttonlist.cpp @@ -2411,7 +2411,8 @@ bool MythUIButtonList::ParseElement( else if (element.tagName() == "drawfrombottom") { m_drawFromBottom = parseBool(element); - m_alignment |= Qt::AlignBottom; + if (m_drawFromBottom) + m_alignment |= Qt::AlignBottom; } else if (element.tagName() == "searchposition") {