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:
parent
fc1617ff2f
commit
f4beb6856d
@ -1530,7 +1530,7 @@ void AudacityProject::ModifyToolbarMenus()
|
|||||||
mCommandManager.Check(wxT("Duplex"), active);
|
mCommandManager.Check(wxT("Duplex"), active);
|
||||||
gPrefs->Read(wxT("/AudioIO/SWPlaythrough"),&active, false);
|
gPrefs->Read(wxT("/AudioIO/SWPlaythrough"),&active, false);
|
||||||
mCommandManager.Check(wxT("SWPlaythrough"), active);
|
mCommandManager.Check(wxT("SWPlaythrough"), active);
|
||||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &active, true);
|
gPrefs->Read(wxT("/GUI/LinkTracks"), &active, false);
|
||||||
SetStickyFlag(active);
|
SetStickyFlag(active);
|
||||||
mCommandManager.Check(wxT("StickyLabels"), active);
|
mCommandManager.Check(wxT("StickyLabels"), active);
|
||||||
}
|
}
|
||||||
@ -5103,7 +5103,7 @@ int AudacityProject::DoAddLabel(double left, double right)
|
|||||||
void AudacityProject::OnStickyLabel()
|
void AudacityProject::OnStickyLabel()
|
||||||
{
|
{
|
||||||
bool linkTracks;
|
bool linkTracks;
|
||||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||||
gPrefs->Write(wxT("/GUI/LinkTracks"), !linkTracks);
|
gPrefs->Write(wxT("/GUI/LinkTracks"), !linkTracks);
|
||||||
|
|
||||||
// Toolbar, project "sticky flag" handled within
|
// Toolbar, project "sticky flag" handled within
|
||||||
|
@ -814,7 +814,7 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
|
|||||||
|
|
||||||
mLockPlayRegion = false;
|
mLockPlayRegion = false;
|
||||||
bool linkTracks;
|
bool linkTracks;
|
||||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||||
SetStickyFlag(linkTracks);
|
SetStickyFlag(linkTracks);
|
||||||
|
|
||||||
CreateMenusAndCommands();
|
CreateMenusAndCommands();
|
||||||
|
@ -307,7 +307,7 @@ void EditToolBar::EnableDisableButtons()
|
|||||||
|
|
||||||
#ifdef EXPERIMENTAL_LINKING
|
#ifdef EXPERIMENTAL_LINKING
|
||||||
bool linkTracks;
|
bool linkTracks;
|
||||||
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, true);
|
gPrefs->Read(wxT("/GUI/LinkTracks"), &linkTracks, false);
|
||||||
|
|
||||||
if (linkTracks)
|
if (linkTracks)
|
||||||
mButtons[ETBLinkID]->PushDown();
|
mButtons[ETBLinkID]->PushDown();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user