From 79319f37c8520c47ad837101f33ef445b864b4bd Mon Sep 17 00:00:00 2001 From: jsiegle <jsiegle@mit.edu> Date: Fri, 4 Apr 2014 11:32:26 -0400 Subject: [PATCH] Remove unnecessary toggling of play button by record button --- Source/UI/ControlPanel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/ControlPanel.cpp b/Source/UI/ControlPanel.cpp index 5a220c97b..730302f12 100755 --- a/Source/UI/ControlPanel.cpp +++ b/Source/UI/ControlPanel.cpp @@ -653,7 +653,7 @@ void ControlPanel::labelTextChanged(Label* label) void ControlPanel::startRecording() { - playButton->setToggleState(true,true); + //playButton->setToggleState(true,true); if (audio->callbacksAreActive()) { @@ -691,6 +691,7 @@ void ControlPanel::buttonClicked(Button* button) { startRecording(); + playButton->setToggleState(true, false); } else -- GitLab