1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Steve's fix for a somewhat obscure (non-Bugzilla) bug.

This commit is contained in:
martynshaw99 2013-04-22 23:19:34 +00:00
parent 025c6ad6d6
commit 7696ba4602

View File

@ -212,6 +212,11 @@ FreqWindow::FreqWindow(wxWindow * parent, wxWindowID id,
mAxisChoice->SetName(_("Axis"));
mAxisChoice->SetSelection(mAxis);
// Log-frequency axis works for spectrum plots only.
if (mAlg != 0) {
mAxis = 0;
mAxisChoice->Disable();
}
mLogAxis = mAxis?true:false;