mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-10 05:30:01 +01:00
Bug1661: Default audio track name not being translated...
... Problem was introduced in 2.1.3 at:
8a6edf3623
This commit is contained in:
@@ -53,6 +53,7 @@ Track classes.
|
||||
|
||||
#include "effects/TimeWarper.h"
|
||||
#include "prefs/SpectrumPrefs.h"
|
||||
#include "prefs/TracksPrefs.h"
|
||||
#include "prefs/WaveformPrefs.h"
|
||||
|
||||
#include "InconsistencyException.h"
|
||||
@@ -107,7 +108,7 @@ WaveTrack::WaveTrack(const std::shared_ptr<DirManager> &projDirManager, sampleFo
|
||||
mRate = (int) rate;
|
||||
mGain = 1.0;
|
||||
mPan = 0.0;
|
||||
SetDefaultName(gPrefs->Read(wxT("/GUI/TrackNames/DefaultTrackName"), _("Audio Track")));
|
||||
SetDefaultName(TracksPrefs::GetDefaultAudioTrackNamePreference());
|
||||
SetName(GetDefaultName());
|
||||
mDisplayMin = -1.0;
|
||||
mDisplayMax = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user