1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-30 23:23:44 +02:00

Big1822: Discard button of History window should remain disabled...

... during recording, even though Undo history might lengthen, such as for
Ctrl+M (or Command+.) to drop a label, or moving of a Pan or Gain slider.
This commit is contained in:
Paul Licameli 2018-01-14 18:55:16 -05:00
parent 0265b8792d
commit 714d53e00f

View File

@ -242,7 +242,7 @@ void HistoryWindow::UpdateLevels()
}
mLevels->Enable(mSelected > 0);
mDiscard->Enable(mSelected > 0);
mDiscard->Enable(!mAudioIOBusy && mSelected > 0);
}
void HistoryWindow::OnDiscard(wxCommandEvent & WXUNUSED(event))