1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 23:32:53 +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,9 +8014,11 @@ 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.