Author: tom
Date: Tue Apr 7 11:59:51 2009
New Revision: 5226
URL: http://svn.slimdevices.com/jive?rev=5226&view=rev
Log:
Bug: 11236
Description:
- while chunks were being loaded, the selected index was being set back to the
menuAnchor, even if the user had already started moving away from the item.
(Putting fix in 7.3 trunk and 7.4 trunk)
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=5226&r1=5225&r2=5226&view=diff
==============================================================================
---
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Tue Apr 7 11:59:51 2009
@@ -208,6 +208,7 @@
log:debug('We\'ve been here before, lastBrowse index was: ',
lastBrowse.index)
_player.lastKeyTable = lastBrowse
+ _player.menuAnchorSet = false
return from, qty
@@ -1003,8 +1004,10 @@
-- count == 0 responses should not be typical
elseif step.menu then
step.menu:setItems(step.db:menuItems(data))
- if _player.menuAnchor then
+ if _player.menuAnchor and not _player.menuAnchorSet then
+ log:debug("Selecting menuAnchor: ",
_player.menuAnchor)
step.menu:setSelectedIndex(_player.menuAnchor)
+ _player.menuAnchorSet = true
end
-- update the window properties
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins