# HG changeset patch # User Jacob Dawid # Date 1314053989 -7200 # Node ID b7d870e9b886fad4e86406bcb89094e07112404f # Parent 04cd5480855c68ab94859dc6f8919c3ff8a4acb3 Added patch from aAndriy with adding file extension when not present. diff -r 04cd5480855c -r b7d870e9b886 gui/src/FileEditorMdiSubWindow.cpp --- a/gui/src/FileEditorMdiSubWindow.cpp Tue Aug 23 00:55:38 2011 +0200 +++ b/gui/src/FileEditorMdiSubWindow.cpp Tue Aug 23 00:59:49 2011 +0200 @@ -194,6 +194,8 @@ saveFileName = QFileDialog::getSaveFileName (this, "Save File", fileName,SAVE_FILE_FILTER); if (saveFileName.isEmpty ()) return; + if(!saveFileName.endsWith(".m")) + saveFileName.append(".m"); } else {