Commit 97b3f6bc authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Fix new archive dialog

parent 8867493f
......@@ -276,7 +276,7 @@ void MainWindow::newArchive()
QFileDialog dlg(this);
dlg.setMimeTypeFilters(mimeTypes);
dlg.setFileMode(QFileDialog::ExistingFile);
dlg.setFileMode(QFileDialog::AnyFile);
dlg.setAcceptMode(QFileDialog::AcceptSave);
if (dlg.exec() == QDialog::Accepted) {
m_openArgs.metaData()[QLatin1String( "createNewArchive" )] = QLatin1String( "true" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment