mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
(bug 113)
DirManager::ProjectFSCK (project check): Made the enumerations interleaved with handling, because, for example, user choosing to replace missing aliased block files with silence needs to put in SilentBlockFiles and delete the corresponding auf files, so those would then not be cumulated in missingAliasBlockFileHash. We still do the FindX methods outside the conditionals, so the log always shows all found errors. Moved check for orphan files to last, so user first has a chance to get messages about missing files that user may have mistakenly renamed (and the renamed ones would appear to be orphans). Re-ordered user choices for orphan files dialog to safest-to-boldest. Changed FSCKstatus_CLOSEREQ and FSCKstatus_CHANGED to be integers rather than binary flags. They were never returned with both in the result, nor used that way. Made the project check log warnings use full paths instead of just file names. Removed close box and system menu from MultiDialog, so that project check dialogs cannot just be closed. User has to decide on one of the choices. Fixed some handling in AudacityProject::OnShowLog(). If the log was already showing before MultiDialog came up, it froze because it was not re-enabled.
This commit is contained in:
@@ -59,8 +59,10 @@ END_EVENT_TABLE()
|
||||
|
||||
MultiDialog::MultiDialog(wxString message,
|
||||
wxString title,
|
||||
const wxChar **buttons):
|
||||
wxDialog(NULL, (wxWindowID)-1, title)
|
||||
const wxChar **buttons)
|
||||
: wxDialog(NULL, (wxWindowID)-1, title,
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxCAPTION) // not wxDEFAULT_DIALOG_STYLE because we don't want wxCLOSE_BOX and wxSYSTEM_MENU
|
||||
{
|
||||
wxBoxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);
|
||||
wxBoxSizer *vSizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
Reference in New Issue
Block a user