From ed05dc2b2e6ecd57f723b914481b74317fa187bc Mon Sep 17 00:00:00 2001 From: walker0643 <> Date: Sun, 11 Mar 2018 12:29:48 -0400 Subject: [PATCH] set file extension in Save dialog for configuration files --- src/gui/src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index ff9725c0..b92e5f7c 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -980,7 +980,7 @@ bool MainWindow::on_m_pButtonBrowseConfigFile_clicked() bool MainWindow::on_m_pActionSave_triggered() { - QString fileName = QFileDialog::getSaveFileName(this, tr("Save configuration as...")); + QString fileName = QFileDialog::getSaveFileName(this, tr("Save configuration as..."), QString(), tr("Barrier Configuration (*.sgc)")); if (!fileName.isEmpty() && !serverConfig().save(fileName)) {