mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Set preferences dialog title based on meter type
This commit is contained in:
parent
a3786dd78a
commit
97251986ed
@ -1760,9 +1760,12 @@ void Meter::OnPreferences(wxCommandEvent & WXUNUSED(event))
|
||||
wxRadioButton *vertical;
|
||||
int meterRefreshRate = mMeterRefreshRate;
|
||||
|
||||
wxString title(mIsInput ? _("Recording Meter Preferences") : _("Playback Meter Preferences"));
|
||||
|
||||
// Dialog is a child of the project, rather than of the toolbar.
|
||||
// This determines where it pops up.
|
||||
wxDialog dlg(GetActiveProject(), wxID_ANY, wxString(_("Meter Preferences")));
|
||||
|
||||
wxDialog dlg(GetActiveProject(), wxID_ANY, title);
|
||||
ShuttleGui S(&dlg, eIsCreating);
|
||||
S.StartVerticalLay();
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user