Commit 744adcaa authored by Clément Stenac's avatar Clément Stenac

Put the full path in wizard output option (Closes:#392)

parent 0390618b
...@@ -1274,14 +1274,14 @@ wizTranscodeExtraPage::wizTranscodeExtraPage( wxWizard *parent, ...@@ -1274,14 +1274,14 @@ wizTranscodeExtraPage::wizTranscodeExtraPage( wxWizard *parent,
void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event) void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event)
{ {
wxFileDialog *file_dialog = new wxFileDialog( this, wxU(_("Open File")), wxFileDialog *file_dialog = new wxFileDialog( this, wxU(_("Save to file")),
wxT(""), wxT(""), wxT("*"), wxSAVE ); wxT(""), wxT(""), wxT("*"), wxSAVE );
if( file_dialog && file_dialog->ShowModal() == wxID_OK ) if( file_dialog && file_dialog->ShowModal() == wxID_OK )
{ {
if( file_dialog->GetFilename().mb_str() ) if( file_dialog->GetFilename().mb_str() )
{ {
file_text->SetValue( file_dialog->GetFilename() ); file_text->SetValue( file_dialog->GetPath() );
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment