From 7108b71f5d074025dda92650abce21497b88da4a Mon Sep 17 00:00:00 2001 From: lllucius Date: Mon, 22 Dec 2014 09:29:14 +0000 Subject: [PATCH] Fix for bug #804 But, I did leave in the disabling/enabling of the transcription toolbar play button when recording. Thought that was a good idea. --- src/toolbars/ControlToolBar.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index 9d303f079..76b28694c 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -391,23 +391,13 @@ void ControlToolBar::EnableDisableButtons() void ControlToolBar::SetPlay(bool down, bool looped, bool cutPreview) { AudacityProject *p = GetActiveProject(); - TranscriptionToolBar *const pttb = - p ? p->GetTranscriptionToolBar(): 0; if (down) { mPlay->SetAlternateIdx(cutPreview ? 2 : looped ? 1 : 0); mPlay->PushDown(); - if (pttb) - // This disables cursor changes for modifier keys - // in the other play button too - pttb->SetPlaying(true, looped, cutPreview); } else { mPlay->PopUp(); mPlay->SetAlternateIdx(0); - if (pttb) - // This reenables cursor changes for modifier keys - // in the other play button too - pttb->SetPlaying(false, looped, cutPreview); } EnableDisableButtons(); }