set file extension in Save dialog for configuration files

This commit is contained in:
walker0643 2018-03-11 12:29:48 -04:00
parent b4604b0921
commit ed05dc2b2e
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{