1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

[Bug 782] Nyquist parameters changed (during this session) now remembered until end of session, as before.

Thanks to Steve for tracking this down.
This commit is contained in:
james.k.crook@gmail.com 2014-11-09 21:54:06 +00:00
parent aeaf2d1bf4
commit 035ee5cdff

View File

@ -589,11 +589,11 @@ bool EffectNyquist::PromptUser()
}
if (!mExternal) {
//TODO: re-instate the caching of the lisp parsing so it is only done once.
//small efficiency gain.
//Disabled for now in order to allow number of controls to be varied easily
//depending on whether time or time-and-frequency were selected.
//if (mFileName.GetModificationTime().IsLaterThan(mFileModified))
//TODO: If we want to auto-add parameters from spectral selection,
//we will need to modify this test.
//Note that removing it stops the caching of parameter values,
//(during this session).
if (mFileName.GetModificationTime().IsLaterThan(mFileModified))
{
ParseFile();
mFileModified = mFileName.GetModificationTime();