Allow selection of files without extension
I have automatically generated images that do not match *.* as filename contains no dots. I have to rename them every time :(
This commit is contained in:
@@ -577,7 +577,7 @@ void ImageWriter::openFileDialog()
|
|||||||
|
|
||||||
QFileDialog *fd = new QFileDialog(nullptr, tr("Select image"),
|
QFileDialog *fd = new QFileDialog(nullptr, tr("Select image"),
|
||||||
path,
|
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)));
|
connect(fd, SIGNAL(fileSelected(QString)), SLOT(onFileSelected(QString)));
|
||||||
|
|
||||||
if (_engine)
|
if (_engine)
|
||||||
|
|||||||
Reference in New Issue
Block a user