Label save-file-dialog button "Save" instead of "Open"
This commit is contained in:
parent
2d88f4c08f
commit
f42d7eafb0
1 changed files with 1 additions and 0 deletions
|
@ -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)");
|
||||
|
|
Loading…
Reference in a new issue