Commit e2254d4c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: fix open dialog issue when file browser is embedded

Close #3893
parent 8cbfee18
...@@ -271,7 +271,11 @@ void FileOpenPanel::updateMRL() ...@@ -271,7 +271,11 @@ void FileOpenPanel::updateMRL()
fileList << ui.fileListWidg->item( i )->text(); fileList << ui.fileListWidg->item( i )->text();
} }
else else
{
fileList = dialogBox->selectedFiles(); fileList = dialogBox->selectedFiles();
for( int i = 0; i < fileList.count(); i++ )
fileList[i] = toNativeSeparators( fileList[i] );
}
/* Options */ /* Options */
if( ui.subCheckBox->isChecked() && !ui.subInput->text().isEmpty() ) { if( ui.subCheckBox->isChecked() && !ui.subInput->text().isEmpty() ) {
......
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