[mythtv-commits] mythtv commit: r23590 by jpoet
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Feb 22 22:08:47 UTC 2010
Author: jpoet
Date: 2010-02-22 22:08:47 +0000 (Mon, 22 Feb 2010)
New Revision: 23590
Changeset: http://svn.mythtv.org/trac/changeset/23590
Modified:
trunk/mythtv/libs/libmythui/mythuibuttonlist.cpp
Log:
MythUIButtonList::SetItemCurrent: Remove check for m_itemsVisible==0
When using Dynamic layout (<arrange>stack|fixed|spread</arrange>), the
m_itemsVisible value is not calculated until after the list is drawn the
first time. This resulted in SetItemCurrent bailing too early. The check
for m_itemsVisible==0 does not seem to be needed, so just get rid of it.
More information about the mythtv-commits
mailing list