1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Add preference for Record being to new track.

This commit is contained in:
James Crook
2017-05-01 11:46:12 +01:00
parent 623d0f29bf
commit 9d501f69d6
9 changed files with 66 additions and 31 deletions

View File

@@ -220,9 +220,7 @@ bool GUIPrefs::Apply()
gPrefs->Write(wxT("/Locale/Language"), usedLang);
gPrefs->Flush();
}
// Reads preference /GUI/Theme
theTheme.LoadPreferredTheme();
theTheme.ApplyUpdatedImages();
return true;
}

View File

@@ -69,6 +69,8 @@
#include "MidiIOPrefs.h"
#endif
#include "../Theme.h"
BEGIN_EVENT_TABLE(PrefsDialog, wxDialogWrapper)
EVT_BUTTON(wxID_OK, PrefsDialog::OnOK)
EVT_BUTTON(wxID_CANCEL, PrefsDialog::OnCancel)
@@ -412,6 +414,10 @@ void PrefsDialog::OnOK(wxCommandEvent & WXUNUSED(event))
gPrefs->Flush();
// Reads preference /GUI/Theme
theTheme.LoadPreferredTheme();
theTheme.ApplyUpdatedImages();
SavePreferredPage();
#if USE_PORTMIXER

View File

@@ -63,6 +63,9 @@ void TracksBehaviorsPrefs::PopulateOrExchange(ShuttleGui & S)
S.TieCheckBox(_("&Select then act on entire project, if no audio selected"),
wxT("/GUI/SelectAllOnNone"),
true);
S.TieCheckBox(_("Append recordings to same track, by default"),
wxT("/GUI/PreferAppendRecord"),
true);
/* i18n-hint: cut-lines are a lines indicating where to cut.*/
S.TieCheckBox(_("Enable cut &lines"),
wxT("/GUI/EnableCutLines"),