1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

IdentInterfaceSymbol in NumericTextCtrl; don't persist translated

This commit is contained in:
Paul Licameli
2017-10-06 11:05:15 -04:00
parent 9015dece06
commit 0fb02a8024
27 changed files with 282 additions and 256 deletions

View File

@@ -55,7 +55,7 @@ SnapManager::SnapManager(const TrackList *tracks,
mSnapTo = 0;
mRate = 0.0;
mFormat.Empty();
mFormat = {};
// Two time points closer than this are considered the same
mEpsilon = 1 / 44100.0;
@@ -71,7 +71,7 @@ void SnapManager::Reinit()
{
int snapTo = mProject->GetSnapTo();
double rate = mProject->GetRate();
wxString format = mProject->GetSelectionFormat();
auto format = mProject->GetSelectionFormat();
// No need to reinit if these are still the same
if (snapTo == mSnapTo && rate == mRate && format == mFormat)