diff options
-rw-r--r-- | src/mainwindow.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index ace6e5e..db1e557 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -570,6 +570,11 @@ void MainWindow::saveProjectAs() return; } + if(filename.right(7) != ".dgedit") + { + filename += ".dgedit"; + } + project.setProjectFile(filename); saveProject(); |