Skip to content

Commit

Permalink
Fix for bug 2230 - Audacity crashes on selecting Resample
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDaulton committed Oct 24, 2019
1 parent cfbffe6 commit e9c8438
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/menus/TrackMenus.cpp
Expand Up @@ -694,7 +694,6 @@ void OnResample(const CommandContext &context)
while (true)
{
wxDialogWrapper dlg(&window, wxID_ANY, wxString(_("Resample")));
dlg.SetName(dlg.GetTitle());
ShuttleGui S(&dlg, eIsCreating);
wxString rate;
wxComboBox *cb;
Expand Down Expand Up @@ -782,7 +781,7 @@ void OnResample(const CommandContext &context)
}

undoManager.StopConsolidating();

// Need to reset
window.FinishAutoScroll();
}
Expand Down Expand Up @@ -1251,7 +1250,7 @@ MenuTable::BaseItemPtr TracksMenu( AudacityProject & )
// Tracks Menu (formerly Project Menu)
using namespace MenuTable;
using Options = CommandManager::Options;

return Menu( _("&Tracks"),
Menu( _("Add &New"),
Command( wxT("NewMonoTrack"), XXO("&Mono Track"), FN(OnNewWaveTrack),
Expand Down

0 comments on commit e9c8438

Please sign in to comment.