diff --git a/agui2/src/Graphics/Dialogs/OutputDialog.cpp b/agui2/src/Graphics/Dialogs/OutputDialog.cpp index ce07227d2a808df17d45fa2eb68afd971e91353c..1826d5b412b5d8cdd5d1a30894232876358cd198 100644 --- a/agui2/src/Graphics/Dialogs/OutputDialog.cpp +++ b/agui2/src/Graphics/Dialogs/OutputDialog.cpp @@ -48,7 +48,12 @@ void OutputDialog::hideTab(QWidget* tab) { } void OutputDialog::on_saveBtn_clicked() { - auto [filter, extension] = this->getCurrentTabFileFilter(); +// auto [filter, extension] = this->getCurrentTabFileFilter(); //FIXME use when g++ on gitlab-ci supports it + + std::pair<QString, QString> res = this->getCurrentTabFileFilter(); + QString filter = res.first; + QString extension = res.second; + QString filename(QFileDialog::getSaveFileName(this, tr("Save file"), QDir::homePath(),