1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-09 16:41:14 +02:00

Record state modification when changing a track's spectrogram settings

Fixes Bug 1277.
This commit is contained in:
Taiki Kim 2016-06-18 13:39:58 -07:00
parent 995db14fd9
commit 51557c8959

View File

@ -8014,10 +8014,12 @@ void TrackPanel::OnSpectrogramSettings(wxCommandEvent &)
wxString title(wt->GetName() + wxT(": "));
ViewSettingsDialog dialog(this, title, factories, page);
if (0 != dialog.ShowModal())
if (0 != dialog.ShowModal()) {
MakeParentModifyState(true);
// Redraw
Refresh(false);
}
}
/// Set the Display mode based on the menu choice in the Track Menu.
/// Note that gModes MUST BE IN THE SAME ORDER AS THE MENU CHOICES!!