Added .stats to keyframe files.

Originally committed to SVN as r2508.
This commit is contained in:
Rodrigo Braz Monteiro 2008-12-20 00:17:17 +00:00
parent 6ad406446b
commit a614dd57ea
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ void FrameMain::OnCloseVFR(wxCommandEvent &event) {
void FrameMain::OnOpenKeyframes (wxCommandEvent &event) { void FrameMain::OnOpenKeyframes (wxCommandEvent &event) {
// Pick file // Pick file
wxString path = Options.AsText(_T("Last open keyframes path")); wxString path = Options.AsText(_T("Last open keyframes path"));
wxString filename = wxFileSelector(_T("Select the keyframes file to open"),path,_T(""),_T(".txt"),_T("All supported formats (*.txt, *.pass, *.log)|*.txt;*.pass;*.log|All files (*.*)|*.*"),wxFD_FILE_MUST_EXIST | wxFD_OPEN); wxString filename = wxFileSelector(_T("Select the keyframes file to open"),path,_T(""),_T(".txt"),_T("All supported formats (*.txt, *.pass, *.stats, *.log)|*.txt;*.pass;*.stats;*.log|All files (*.*)|*.*"),wxFD_FILE_MUST_EXIST | wxFD_OPEN);
if (filename.IsEmpty()) return; if (filename.IsEmpty()) return;
Options.SetText(_T("Last open keyframes path"),filename); Options.SetText(_T("Last open keyframes path"),filename);
Options.Save(); Options.Save();