Merge pull request #455 from shlyakpavel/patch-1

Allow selection of files without extension
This commit is contained in:
maxnet 2022-07-26 22:25:38 +02:00 committed by GitHub
commit ff9004ff0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -577,7 +577,7 @@ void ImageWriter::openFileDialog()
QFileDialog *fd = new QFileDialog(nullptr, tr("Select image"),
path,
"Image files (*.img *.zip *.iso *.gz *.xz *.zst);;All files (*.*)");
"Image files (*.img *.zip *.iso *.gz *.xz *.zst);;All files (*)");
connect(fd, SIGNAL(fileSelected(QString)), SLOT(onFileSelected(QString)));
if (_engine)