From 8f2f1d5839cde4126aa6dfa5ff32b94c9439f5a7 Mon Sep 17 00:00:00 2001 From: emb <> Date: Wed, 21 Oct 2015 21:53:36 -0500 Subject: [PATCH] Random button press now sends notification to all components. --- RetroFE/Source/Graphics/Component/ScrollingList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RetroFE/Source/Graphics/Component/ScrollingList.cpp b/RetroFE/Source/Graphics/Component/ScrollingList.cpp index 589f3b0..ca9c5fd 100644 --- a/RetroFE/Source/Graphics/Component/ScrollingList.cpp +++ b/RetroFE/Source/Graphics/Component/ScrollingList.cpp @@ -289,6 +289,8 @@ void ScrollingList::random() { if(!items_ || items_->size() == 0) return; + notifyAllRequested_ = true; + deallocateSpritePoints(); itemIndex_ = rand() % items_->size(); allocateSpritePoints();