[mythtv-commits] mythtv commit: r23139 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jan 14 21:40:54 UTC 2010


      Author: danielk
        Date: 2010-01-14 21:40:53 +0000 (Thu, 14 Jan 2010)
New Revision: 23139
   Changeset: http://svn.mythtv.org/trac/changeset/23139

Modified:

   trunk/mythtv/programs/mythfrontend/playbackbox.cpp

Log:

Improves reselection code in playbackbox. Try to not just keep the same item selected on reloads, but also the same scroll position.

We don't try as hard to keep the scroll position near where it was as we do with the selection. The reasoning being that if the list has changed drastically we should really by scrolling to a new position. We attempt to locate the former top item and the item above and below it, failing that we allow the list to scroll without restraint.




More information about the mythtv-commits mailing list