For the Flatpak package : remove the file name extension added

automatically to the saved files even if the user sets an unknown file
extension for the program.
This commit is contained in:
Laurent Trinques
2019-09-03 22:54:09 +02:00
parent e4741f3604
commit b121dad562
2 changed files with 5 additions and 5 deletions

View File

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