Commit 258973e8 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: ConvertDialog: Don't enforce extension on raw dump

parent 501bf022
......@@ -112,7 +112,7 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
void ConvertDialog::fileBrowse()
{
QString fileExtension = "." + profile->getMux();
QString fileExtension = ( ! profile->isEnabled() ) ? ".*" : "." + profile->getMux();
QString fileName = QFileDialog::getSaveFileName( this, qtr( "Save file..." ),
"",
......@@ -165,7 +165,7 @@ void ConvertDialog::dumpChecked( bool checked )
void ConvertDialog::setDestinationFileExtension()
{
if( !fileLine->text().isEmpty() )
if( !fileLine->text().isEmpty() && profile->isEnabled() )
{
QString newFileExtension = "." + profile->getMux();
QString newFileName;
......
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