Improve files names extension for Gnome DE and Flatpak

This commit is contained in:
Laurent Trinques
2020-02-26 14:50:56 +01:00
parent 6535a93b66
commit 85a2600e58
5 changed files with 13 additions and 13 deletions

View File

@@ -313,7 +313,7 @@ QString ProjectView::askUserForFilePath(bool assign) {
QString filepath = QFileDialog::getSaveFileName(
this,
tr("Enregistrer sous", "dialog title"),
m_project -> currentDir(),
m_project -> currentDir() + "/" + tr("sansnom") + ".qet",
tr("Projet QElectroTech (*.qet)", "filetypes allowed when saving a project file")
);