1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Linking should default off.

This commit is contained in:
BusinessmanProgrammerSteve 2010-04-13 20:04:27 +00:00
parent fc1617ff2f
commit f4beb6856d
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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();

View File

@ -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();