Merge branch 'hotfix/save-dialog-says-open'
This commit is contained in:
commit
a8e1596868
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ void MainWindow::saveFile()
|
||||||
void MainWindow::saveFileAs()
|
void MainWindow::saveFileAs()
|
||||||
{
|
{
|
||||||
QFileDialog saveFilenameDialog(this);
|
QFileDialog saveFilenameDialog(this);
|
||||||
|
saveFilenameDialog.setAcceptMode(QFileDialog::AcceptSave);
|
||||||
saveFilenameDialog.setDefaultSuffix("esgraf48");
|
saveFilenameDialog.setDefaultSuffix("esgraf48");
|
||||||
saveFilenameDialog.setFileMode(QFileDialog::AnyFile);
|
saveFilenameDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
saveFilenameDialog.setNameFilter("ESGRAF 4-8 (*.esgraf48)");
|
saveFilenameDialog.setNameFilter("ESGRAF 4-8 (*.esgraf48)");
|
||||||
|
|
Loading…
Reference in a new issue