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:
parent
995db14fd9
commit
51557c8959
@ -8014,9 +8014,11 @@ void TrackPanel::OnSpectrogramSettings(wxCommandEvent &)
|
|||||||
wxString title(wt->GetName() + wxT(": "));
|
wxString title(wt->GetName() + wxT(": "));
|
||||||
ViewSettingsDialog dialog(this, title, factories, page);
|
ViewSettingsDialog dialog(this, title, factories, page);
|
||||||
|
|
||||||
if (0 != dialog.ShowModal())
|
if (0 != dialog.ShowModal()) {
|
||||||
|
MakeParentModifyState(true);
|
||||||
// Redraw
|
// Redraw
|
||||||
Refresh(false);
|
Refresh(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the Display mode based on the menu choice in the Track Menu.
|
/// Set the Display mode based on the menu choice in the Track Menu.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user