diff --git a/sources/editor/qetelementeditor.cpp b/sources/editor/qetelementeditor.cpp index 57ba5961b..de9e95c01 100644 --- a/sources/editor/qetelementeditor.cpp +++ b/sources/editor/qetelementeditor.cpp @@ -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 diff --git a/sources/projectview.cpp b/sources/projectview.cpp index 409587fec..d9a9330d1 100644 --- a/sources/projectview.cpp +++ b/sources/projectview.cpp @@ -320,8 +320,8 @@ QString ProjectView::askUserForFilePath(bool assign) { // if no filepath is provided, return an empty string if (filepath.isEmpty()) return(filepath); - // if the name does not end with the .qet extension, append it - if (!filepath.endsWith(".qet", Qt::CaseInsensitive)) filepath += ".qet"; +// // if the name does not end with the .qet extension, append it +// if (!filepath.endsWith(".qet", Qt::CaseInsensitive)) filepath += ".qet"; if (assign) { // assign the provided filepath to the currently edited project