use .esgraf48 as default file extension

This commit is contained in:
mandlm 2018-06-06 16:37:22 +02:00
parent 2c0a7c1388
commit 1614d4b409

View File

@ -41,7 +41,8 @@ void MainWindow::newFile()
void MainWindow::openFile()
{
QString filename = QFileDialog::getOpenFileName(this);
QString filename = QFileDialog::getOpenFileName(this, "Open file",
"", "ESGRAF 4-8 (*.esgraf48)");
if (filename.isEmpty())
{
return;
@ -78,7 +79,8 @@ void MainWindow::saveFile()
void MainWindow::saveFileAs()
{
QString filename = QFileDialog::getSaveFileName(this);
QString filename = QFileDialog::getSaveFileName(this, "Save file", "",
"ESGRAF 4-8 (*.esgraf48)");
if (filename.isEmpty())
{
return;