mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-15 08:07:41 +02:00
Fix for sticky overdub menu item
This commit is contained in:
parent
079b4b66aa
commit
2e29d9d2b1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user