diff --git a/src/ecudialog.ui b/src/ecudialog.ui index c926f998..eabb3318 100644 --- a/src/ecudialog.ui +++ b/src/ecudialog.ui @@ -420,10 +420,10 @@ - false + true - true + false -1 diff --git a/src/plugindialog.cpp b/src/plugindialog.cpp index 2a76da7e..9ad1169a 100644 --- a/src/plugindialog.cpp +++ b/src/plugindialog.cpp @@ -80,10 +80,14 @@ void PluginDialog::on_toolButton_clicked() { if(ui->comboBoxType->currentIndex()==0) { // filename - fileName = QFileDialog::getOpenFileName(this, + QStringList fileNames = QFileDialog::getOpenFileNames(this, QString("Open ")+name+QString(" configuration file"), workingDirectory.getPluginDirectory(name), tr("Plugin configuration (*.*)")); + if(fileNames.size()==1) + fileName = fileNames[0]; + else if(fileNames.size()>1) + fileName = fileNames.join('|'); } else {