mirror of https://github.com/odrling/Aegisub
Added .stats to keyframe files.
Originally committed to SVN as r2508.
This commit is contained in:
parent
6ad406446b
commit
a614dd57ea
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue