From aeba34b1525cba37b820ea25da4e78a9246e1bfb Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 12 Aug 2018 19:28:24 -0400 Subject: [PATCH] Bug1930: should draw bottom channel when append-recording... ... Bug happened only when append-recording by pressing the toolbar button, not by using a shortcut key; and the blank track did get drawn if you moused over it or hid and showed the window. Turns out TrackPanel::ProcessUIHandleResult did the needed update, which was lacking otherwise. Now TrackList::UpdatePendingTracks is called in another place. --- src/toolbars/ControlToolBar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index 568b6c896..db897ac5b 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -1194,6 +1194,7 @@ bool ControlToolBar::DoRecord(AudacityProject &project, } transportTracks.captureTracks.push_back(pending); } + p->GetTracks()->UpdatePendingTracks(); } if( transportTracks.captureTracks.empty() )