1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 23:32:53 +02:00

Fix bug 1361

Make time controls read-only.
This commit is contained in:
Steve Daulton 2016-06-15 19:32:15 +01:00
parent b0c66ff5e2
commit 141e6cb40b

View File

@ -242,6 +242,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true);
mForegroundStartT->SetName(_("Foreground start time"));
mForegroundStartT->EnableMenu(false);
mForegroundStartT->SetReadOnly(true);
}
S.AddWindow(mForegroundStartT);
@ -258,6 +259,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true);
mForegroundEndT->SetName(_("Foreground end time"));
mForegroundEndT->EnableMenu(false);
mForegroundEndT->SetReadOnly(true);
}
S.AddWindow(mForegroundEndT);
@ -280,6 +282,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true);
mBackgroundStartT->SetName(_("Background start time"));
mBackgroundStartT->EnableMenu(false);
mBackgroundStartT->SetReadOnly(true);
}
S.AddWindow(mBackgroundStartT);
@ -296,6 +299,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true);
mBackgroundEndT->SetName(_("Background end time"));
mBackgroundEndT->EnableMenu(false);
mBackgroundEndT->SetReadOnly(true);
}
S.AddWindow(mBackgroundEndT);