Merge branch 'hotfix/save-dialog-says-open'

feature/qt-as-conan-package
mandlm 2019-01-29 21:19:26 +01:00
commit a8e1596868
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ void MainWindow::saveFile()
void MainWindow::saveFileAs()
{
QFileDialog saveFilenameDialog(this);
saveFilenameDialog.setAcceptMode(QFileDialog::AcceptSave);
saveFilenameDialog.setDefaultSuffix("esgraf48");
saveFilenameDialog.setFileMode(QFileDialog::AnyFile);
saveFilenameDialog.setNameFilter("ESGRAF 4-8 (*.esgraf48)");