use .esgraf48 as default file extension
This commit is contained in:
parent
2c0a7c1388
commit
1614d4b409
@ -41,7 +41,8 @@ void MainWindow::newFile()
|
|||||||
|
|
||||||
void MainWindow::openFile()
|
void MainWindow::openFile()
|
||||||
{
|
{
|
||||||
QString filename = QFileDialog::getOpenFileName(this);
|
QString filename = QFileDialog::getOpenFileName(this, "Open file",
|
||||||
|
"", "ESGRAF 4-8 (*.esgraf48)");
|
||||||
if (filename.isEmpty())
|
if (filename.isEmpty())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@ -78,7 +79,8 @@ void MainWindow::saveFile()
|
|||||||
|
|
||||||
void MainWindow::saveFileAs()
|
void MainWindow::saveFileAs()
|
||||||
{
|
{
|
||||||
QString filename = QFileDialog::getSaveFileName(this);
|
QString filename = QFileDialog::getSaveFileName(this, "Save file", "",
|
||||||
|
"ESGRAF 4-8 (*.esgraf48)");
|
||||||
if (filename.isEmpty())
|
if (filename.isEmpty())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user