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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user