diff --git a/core/dialog_export.cpp b/core/dialog_export.cpp index 7285f1ad1..2a20148f2 100644 --- a/core/dialog_export.cpp +++ b/core/dialog_export.cpp @@ -182,7 +182,8 @@ END_EVENT_TABLE() // Process start void DialogExport::OnProcess(wxCommandEvent &event) { // Get destination - wxString filename = wxFileSelector(_("Export subtitles file"),_T(""),_T(""),_T(""),_T("All Supported Types (*.ass,*.ssa,*.srt,*.prs)|*.ass;*.ssa;*.srt;*.prs|Advanced Substation Alpha (*.ass)|*.ass|Substation Alpha (*.ssa)|*.ssa|SubRip (*.srt)|*.srt|Pre-Rendered Subtitles (*.prs)|*.prs"),wxSAVE | wxOVERWRITE_PROMPT,this); + //wxString filename = wxFileSelector(_("Export subtitles file"),_T(""),_T(""),_T(""),_T("All Supported Types (*.ass,*.ssa,*.srt,*.prs)|*.ass;*.ssa;*.srt;*.prs|Advanced Substation Alpha (*.ass)|*.ass|Substation Alpha (*.ssa)|*.ssa|SubRip (*.srt)|*.srt|Pre-Rendered Subtitles (*.prs)|*.prs"),wxSAVE | wxOVERWRITE_PROMPT,this); + wxString filename = wxFileSelector(_("Export subtitles file"),_T(""),_T(""),_T(""),_T("All Supported Types (*.ass,*.ssa,*.srt)|*.ass;*.ssa;*.srt|Advanced Substation Alpha (*.ass)|*.ass|Substation Alpha (*.ssa)|*.ssa|SubRip (*.srt)|*.srt"),wxSAVE | wxOVERWRITE_PROMPT,this); if (filename.empty()) return; // Add filters diff --git a/core/subtitle_format_prs.cpp b/core/subtitle_format_prs.cpp index c7809950c..86f32380b 100644 --- a/core/subtitle_format_prs.cpp +++ b/core/subtitle_format_prs.cpp @@ -63,7 +63,8 @@ // Can write to file? bool PRSSubtitleFormat::CanWriteFile(wxString filename) { #ifdef __WINDOWS__ - return (filename.Right(4).Lower() == _T(".prs")); + return false; + //return (filename.Right(4).Lower() == _T(".prs")); #else return false; #endif