mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 07:40:23 +02:00
Linking should default off.
This commit is contained in:
parent
fc1617ff2f
commit
f4beb6856d
@ -1530,7 +1530,7 @@ void AudacityProject::ModifyToolbarMenus()
|
||||
mCommandManager.Check(wxT("Duplex"), active);
|
||||
gPrefs->Read(wxT("/AudioIO/SWPlaythrough"),&active, false);
|
||||
mCommandManager.Check(wxT("SWPlaythrough"), active);
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &active, true);
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &active, false);
|
||||
SetStickyFlag(active);
|
||||
mCommandManager.Check(wxT("StickyLabels"), active);
|
||||
}
|
||||
@ -5103,7 +5103,7 @@ int AudacityProject::DoAddLabel(double left, double right)
|
||||
void AudacityProject::OnStickyLabel()
|
||||
{
|
||||
bool linkTracks;
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||
gPrefs->Write(wxT("/GUI/LinkTracks"), !linkTracks);
|
||||
|
||||
// Toolbar, project "sticky flag" handled within
|
||||
|
@ -814,7 +814,7 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
|
||||
|
||||
mLockPlayRegion = false;
|
||||
bool linkTracks;
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||
SetStickyFlag(linkTracks);
|
||||
|
||||
CreateMenusAndCommands();
|
||||
|
@ -307,7 +307,7 @@ void EditToolBar::EnableDisableButtons()
|
||||
|
||||
#ifdef EXPERIMENTAL_LINKING
|
||||
bool linkTracks;
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||
|
||||
if (linkTracks)
|
||||
mButtons[ETBLinkID]->PushDown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user