From c7a461fd94eb5930a691d7d914a539baef062b9c Mon Sep 17 00:00:00 2001 From: Septen <gammerxpower@gmail.com> Date: Sun, 3 Apr 2016 16:51:49 +0400 Subject: [PATCH] TiledButtonGroupManager minor fixes. --- Source/UI/Utils/TiledButtonGroupManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/Utils/TiledButtonGroupManager.cpp b/Source/UI/Utils/TiledButtonGroupManager.cpp index 4b011c8c6..abbac0eb0 100644 --- a/Source/UI/Utils/TiledButtonGroupManager.cpp +++ b/Source/UI/Utils/TiledButtonGroupManager.cpp @@ -140,7 +140,8 @@ void TiledButtonGroupManager::buttonClicked (Button* buttonThatWasClicked) // Default selection else { - buttonThatWasClicked->setToggleState (! buttonThatWasClicked->getToggleState(), dontSendNotification); + // Do nothing for now, it's toggled on/off by default + //buttonThatWasClicked->setToggleState (! buttonThatWasClicked->getToggleState(), dontSendNotification); } // Notify the listener -- GitLab