Set the default duration if not in prefs to be 30 seconds like all the other generators. Patch from Steve
This commit is contained in:
parent
1d7f0e15c5
commit
a1a5a75804
|
@ -57,7 +57,7 @@ bool EffectNoise::PromptUser()
|
|||
mDuration = mT1 - mT0;
|
||||
dlog.nIsSelection = true;
|
||||
} else {
|
||||
gPrefs->Read(wxT("/Effects/Noise/Duration"), &mDuration, 1L);
|
||||
gPrefs->Read(wxT("/Effects/Noise/Duration"), &mDuration, 30L);
|
||||
dlog.nIsSelection = false;
|
||||
}
|
||||
|
||||
|
@ -250,14 +250,3 @@ void NoiseDialog::OnTimeCtrlUpdate(wxCommandEvent & event) {
|
|||
}
|
||||
|
||||
|
||||
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
|
||||
// version control system. Please do not modify past this point.
|
||||
//
|
||||
// Local Variables:
|
||||
// c-basic-offset: 3
|
||||
// indent-tabs-mode: nil
|
||||
// End:
|
||||
//
|
||||
// vim: et sts=3 sw=3
|
||||
// arch-tag: 0ca03dc2-c229-44b4-a6eb-1d5d04a3983c
|
||||
|
||||
|
|
Loading…
Reference in New Issue