Author: tom
Date: Thu Feb 19 06:31:03 2009
New Revision: 4302
URL: http://svn.slimdevices.com/jive?rev=4302&view=rev
Log:
Bug: N/A
Description:
- pushAction crashed trying to send nil to pushEvent
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Framework.lua
Modified: 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Framework.lua
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Framework.lua?rev=4302&r1=4301&r2=4302&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Framework.lua (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Framework.lua Thu Feb
19 06:31:03 2009
@@ -616,7 +616,10 @@
=cut
--]]
function pushAction(self, actionName)
- self:pushEvent(self:newActionEvent(actionName))
+ local actionEvent = self:newActionEvent(actionName)
+ if actionEvent then
+ self:pushEvent(actionEvent)
+ end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins