diff --git a/mythtv/libs/libmythui/mythuibuttonlist.cpp b/mythtv/libs/libmythui/mythuibuttonlist.cpp
index dc92b31..4f808bb 100644
|
a
|
b
|
bool MythUIButtonList::DistributeButtons(void)
|
| 781 | 781 | "selected item %1 total items %2") |
| 782 | 782 | .arg(start_item).arg(m_itemCount)); |
| 783 | 783 | |
| | 784 | // if there are no items to show make sure all the buttons are made invisible |
| | 785 | if (m_itemCount == 0) |
| | 786 | { |
| | 787 | for (int i = 0; i < m_ButtonList.count(); i++) |
| | 788 | { |
| | 789 | if (m_ButtonList[i]) |
| | 790 | m_ButtonList[i]->SetVisible(false); |
| | 791 | } |
| | 792 | |
| | 793 | return false; |
| | 794 | } |
| | 795 | |
| 784 | 796 | /* |
| 785 | 797 | * Try fewer and fewer columns until each row can fit the same |
| 786 | 798 | * number of columns. |