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

@@ -1237,9 +1237,9 @@ bool QETElementEditor::slot_saveAsFile()
if (fn.isEmpty())
return(false);
// //If the name doesn't end by .elmt, we add it
// if (!fn.endsWith(".elmt", Qt::CaseInsensitive))
// fn += ".elmt";
//If the name doesn't end by .elmt, we add it
if (!fn.endsWith(".elmt", Qt::CaseInsensitive))
fn += ".elmt";
bool result_save = toFile(fn);
//If the save success, the filename is keep