1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

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.
This commit is contained in:
Paul Licameli 2018-08-12 19:28:24 -04:00
parent 542adefac1
commit aeba34b152

View File

@ -1194,6 +1194,7 @@ bool ControlToolBar::DoRecord(AudacityProject &project,
} }
transportTracks.captureTracks.push_back(pending); transportTracks.captureTracks.push_back(pending);
} }
p->GetTracks()->UpdatePendingTracks();
} }
if( transportTracks.captureTracks.empty() ) if( transportTracks.captureTracks.empty() )