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

Get rid of AutoSaveMinutes pref, as it wasn't actually used correctly.

Now doing autosave on every PushState, ModifyState, and PopState.
This commit is contained in:
v.audacity
2010-06-30 23:19:21 +00:00
parent 60dbfddd06
commit 406594a1dc
3 changed files with 33 additions and 53 deletions

View File

@@ -52,8 +52,6 @@ void ProjectsPrefs::Populate()
void ProjectsPrefs::PopulateOrExchange(ShuttleGui & S)
{
wxTextCtrl *w;
S.SetBorder(2);
S.StartStatic(_("When saving a project that depends on other audio files"));
@@ -76,17 +74,6 @@ void ProjectsPrefs::PopulateOrExchange(ShuttleGui & S)
S.TieCheckBox(_("Auto &save a copy of the project in a separate folder"),
wxT("/Directories/AutoSaveEnabled"),
true);
S.StartThreeColumn();
{
w = S.TieTextBox(_("Auto save in&terval:"),
wxT("/Directories/AutoSaveMinutes"),
2.0,
9);
S.AddUnits(_("minutes"));
w->SetName(w->GetName() + wxT(" ") + _("minutes"));
}
S.EndThreeColumn();
}
S.EndStatic();
}