From 51557c8959075ff1d53b23ac17232c61de64b53a Mon Sep 17 00:00:00 2001 From: Taiki Kim Date: Sat, 18 Jun 2016 13:39:58 -0700 Subject: [PATCH] Record state modification when changing a track's spectrogram settings Fixes Bug 1277. --- src/TrackPanel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 0aad99f64..2ef5371c9 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -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.