1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-15 16:17:41 +02:00

Fix for sticky overdub menu item

This commit is contained in:
lllucius 2014-12-11 06:04:54 +00:00
parent 079b4b66aa
commit 2e29d9d2b1

View File

@ -2342,7 +2342,7 @@ void AudacityProject::OnToggleSoundActivated()
void AudacityProject::OnTogglePlayRecording()
{
bool Duplex;
gPrefs->Read(wxT("/AudioIO/Duplex"), &Duplex, false);
gPrefs->Read(wxT("/AudioIO/Duplex"), &Duplex, true);
gPrefs->Write(wxT("/AudioIO/Duplex"), !Duplex);
gPrefs->Flush();
ModifyAllProjectToolbarMenus();