mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Fix bug in WarningDialog where dismissing via the close box made "don't show again" checkbox always stored as true, because EndModal() was called not via WarningDialog::OnOK() and the return value was 5101. So the prefs file had 5101, which is later read as "true", regardless of the actual setting of the checkbox.
Various other cleanup.
This commit is contained in:
@@ -804,7 +804,7 @@ void AudacityApp::OnMRUFile(wxCommandEvent& event) {
|
||||
|
||||
#if 0
|
||||
//FIX-ME: Was this OnMRUProject lost in an edit?? Should we have it back?
|
||||
//vvvvv I think it was removed on purpose, but I don't know why it's still here.
|
||||
//vvv I think it was removed on purpose, but I don't know why it's still here.
|
||||
// Basically, anything from Recent Files is treated as a .aup, until proven otherwise,
|
||||
// then it tries to Import(). Very questionable handling, imo.
|
||||
// Better, for example, to check the file type early on.
|
||||
|
||||
Reference in New Issue
Block a user