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