mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-19 15:11:23 +01:00
Steve's fix for a somewhat obscure (non-Bugzilla) bug.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user