1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +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); true);
mForegroundStartT->SetName(_("Foreground start time")); mForegroundStartT->SetName(_("Foreground start time"));
mForegroundStartT->EnableMenu(false); mForegroundStartT->EnableMenu(false);
mForegroundStartT->SetReadOnly(true);
} }
S.AddWindow(mForegroundStartT); S.AddWindow(mForegroundStartT);
@ -258,6 +259,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true); true);
mForegroundEndT->SetName(_("Foreground end time")); mForegroundEndT->SetName(_("Foreground end time"));
mForegroundEndT->EnableMenu(false); mForegroundEndT->EnableMenu(false);
mForegroundEndT->SetReadOnly(true);
} }
S.AddWindow(mForegroundEndT); S.AddWindow(mForegroundEndT);
@ -280,6 +282,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true); true);
mBackgroundStartT->SetName(_("Background start time")); mBackgroundStartT->SetName(_("Background start time"));
mBackgroundStartT->EnableMenu(false); mBackgroundStartT->EnableMenu(false);
mBackgroundStartT->SetReadOnly(true);
} }
S.AddWindow(mBackgroundStartT); S.AddWindow(mBackgroundStartT);
@ -296,6 +299,7 @@ ContrastDialog::ContrastDialog(wxWindow * parent, wxWindowID id,
true); true);
mBackgroundEndT->SetName(_("Background end time")); mBackgroundEndT->SetName(_("Background end time"));
mBackgroundEndT->EnableMenu(false); mBackgroundEndT->EnableMenu(false);
mBackgroundEndT->SetReadOnly(true);
} }
S.AddWindow(mBackgroundEndT); S.AddWindow(mBackgroundEndT);