1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-09 13:12:17 +01:00

Fix Big Time TimerToolBar, Stage III

Fixed issue where format selector could disappear.
Fixed upgrade from 2.3.3.
Remembers time format.
This commit is contained in:
James Crook
2020-02-14 12:02:21 +00:00
parent 1dffc4fe1f
commit 9985b8a9b8
16 changed files with 296 additions and 61 deletions

View File

@@ -306,6 +306,10 @@ bool ProjectFileIO::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
settings.SetSelectionFormat(
NumericConverter::LookupFormat( NumericConverter::TIME, value) );
else if (!wxStrcmp(attr, wxT("audiotimeformat")))
settings.SetAudioTimeFormat(
NumericConverter::LookupFormat( NumericConverter::TIME, value) );
else if (!wxStrcmp(attr, wxT("frequencyformat")))
settings.SetFrequencySelectionFormatName(
NumericConverter::LookupFormat( NumericConverter::FREQUENCY, value ) );